π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Fixes lang detection in GH and joke widget
Alicia Sykes92b4e3df3ae7
diff --git a/src/components/Widgets/GitHubProfile.vue b/src/components/Widgets/GitHubProfile.vueindex 1598aa54..a8e78640 100644--- a/src/components/Widgets/GitHubProfile.vue+++ b/src/components/Widgets/GitHubProfile.vue@@ -56,7 +56,7 @@ export default {},locale() {if (this.options.lang) return this.options.lang;- return this.$store.getters.appConfig.lang || 'en';+ return this.$store.getters.appConfig.language || 'en';},cardConfig() {const c = this.colors;diff --git a/src/components/Widgets/Jokes.vue b/src/components/Widgets/Jokes.vueindex b9039fc2..d23b78b4 100644--- a/src/components/Widgets/Jokes.vue+++ b/src/components/Widgets/Jokes.vue@@ -26,7 +26,7 @@ export default {const supportedLanguages = ['en', 'cs', 'de', 'es', 'fr', 'pt'];const usersChoice = this.options.language;if (usersChoice && supportedLanguages.includes(usersChoice)) return usersChoice;- const localLanguage = this.$store.getters.appConfig.lang;+ const localLanguage = this.$store.getters.appConfig.language;if (localLanguage && supportedLanguages.includes(localLanguage)) return localLanguage;return 'en';},