Skip to content

Commit

Permalink
feat: show info if remaining balance is zero
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Dec 3, 2023
1 parent e5cd106 commit ff7a322
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
? t('dashboard.yearInThePast')
: state.activeYear > time.year.value
? t('dashboard.yearInTheFuture')
: time.month.value === 11
? t('dashboard.yearEnding')
: undefined
"
:values="remainingBalance"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"remainingBalance": "Verbleibender Saldo bis {year}",
"summary": "Zusammenfassung",
"tableOverview": "Tabellenübersicht",
"yearEnding": "Das Jahr ist zu Ende...",
"yearInTheFuture": "Jahr liegt in der Zukunft",
"yearInThePast": "Jahr liegt in der Vergangenheit"
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"remainingBalance": "Remaining Balance until {year}",
"summary": "Summary",
"tableOverview": "Table overview",
"yearEnding": "This Year is coming to an end...",
"yearInTheFuture": "Year is in the future",
"yearInThePast": "Year is in the past"
},
Expand Down

0 comments on commit ff7a322

Please sign in to comment.