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:
1 parent
167ddbfb4e
commit
07901f9ab2
3 files changed
+8
-3
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user