diff --git a/app/ui/AddLocationButton.tsx b/app/ui/AddLocationButton.tsx index 7e6f2d3..52b408e 100644 --- a/app/ui/AddLocationButton.tsx +++ b/app/ui/AddLocationButton.tsx @@ -21,7 +21,7 @@ export const AddLocationButton:React.FC = ({yearMonth}) - {t("tooltip")} + {t("tooltip")} diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index e8352d1..bbb00f9 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -45,24 +45,27 @@ export const LocationCard: FC = ({ location, currency }) => {
- + -

{formatYearMonth(yearMonth)} {name}

-
- { - bills.map(bill => ) - } +

{formatYearMonth(yearMonth)} {name}

+ { + bills.length > 0 ? ( +
+ { + bills.map(bill => ) + } +
+ ) : null + } +
- {t("add-bill-button-tooltip")} + {t("add-bill-button-tooltip")} +
- - {monthlyExpense > 0 || seenByTenant || utilBillsProofOfPaymentUploadedAt ? <> -
{t("monthly-statement-legend")}
- - +
{t("monthly-statement-legend")}
{ monthlyExpense > 0 ?
@@ -93,7 +96,6 @@ export const LocationCard: FC = ({ location, currency }) => { : null } -
); }; \ No newline at end of file diff --git a/app/ui/PrintButton.tsx b/app/ui/PrintButton.tsx index fae97a7..93b99a8 100644 --- a/app/ui/PrintButton.tsx +++ b/app/ui/PrintButton.tsx @@ -24,7 +24,7 @@ export const PrintButton: React.FC = ({ yearMonth }) => { > - {t("print-codes-label")} + {t("print-codes-label")}
diff --git a/docker-compose-debug.yml b/docker-compose-debug.yml index 2040bf1..4fd6dc5 100644 --- a/docker-compose-debug.yml +++ b/docker-compose-debug.yml @@ -13,7 +13,7 @@ services: - 27017:27017 environment: MONGO_INITDB_ROOT_USERNAME: root - MONGO_INITDB_ROOT_PASSWORD: example + MONGO_INITDB_ROOT_PASSWORD: HjktJCPWMBtM1ACrDaw7 volumes: - ./mongo-volume:/data/db mongo-express: diff --git a/package-lock.json b/package-lock.json index e42b226..a575c62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "evidencija-rezija", - "version": "2.4.0", + "version": "2.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "version": "2.4.0", + "version": "2.5.0", "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", diff --git a/package.json b/package.json index 2caec92..f61d5bb 100644 --- a/package.json +++ b/package.json @@ -59,5 +59,5 @@ "engines": { "node": ">=18.17.0" }, - "version": "2.4.0" + "version": "2.5.0" }