generated from Seekra/repository-template
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:
@@ -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