fix(settings): add section fallback

Added a simple message as a fallback that is used if no section is
selected.
This commit is contained in:
2026-07-25 15:06:41 +02:00
parent 9ff74157e8
commit bce61bcafb
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -88,9 +88,12 @@ onMounted(async () => {
<div v-if="!settingsLoaded">
{{ t('loading') }}
</div>
<div v-else>
<div v-else-if="activeSection">
<SettingsPage :setting="activeSectionContent" :path="activeSection" />
</div>
<div v-else>
{{ t('settings.noSectionSelected') }}
</div>
</div>
</LeftSidebarLayout>
</div>
+2 -1
View File
@@ -54,6 +54,7 @@
"link": {
"ariaLabel": "Geht zur Einstellungsseite {page}"
}
}
},
"noSectionSelected": "Kein Einstellungsabschnitt ist ausgewählt."
}
}
+2 -1
View File
@@ -54,6 +54,7 @@
"link": {
"ariaLabel": "Goes to settings page {page}"
}
}
},
"noSectionSelected": "No settings section is selected."
}
}