fix Weblate URL if language has never been changed (#4312)

* fix weblate URL if language has never been changed

* note
This commit is contained in:
Matt Fiddaman
2025-02-06 15:00:56 +00:00
committed by GitHub
parent 7096d00fc6
commit 15298703ac
2 changed files with 7 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ export function LanguageSettings() {
variant="external"
to={
'https://hosted.weblate.org/projects/actualbudget/actual/' +
language
(language ?? '')
}
linkColor="purple"
>

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---
Fix broken Weblate URL in settings if the language option has never been set