summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-29 16:58:47 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commit92b31e49a7a4b0e89863efe6b086ed73fbac6cff (patch)
tree2bc6da828965818fc195ac3f422883503a246127 /settings/src
parent7c639a5399599cb731ce55d60487211568fcd6ee (diff)
downloadnextcloud-server-92b31e49a7a4b0e89863efe6b086ed73fbac6cff.tar.gz
nextcloud-server-92b31e49a7a4b0e89863efe6b086ed73fbac6cff.zip
Hide app navigation settings when not provided
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/components/appNavigation.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/src/components/appNavigation.vue b/settings/src/components/appNavigation.vue
index a3ae2620a97..bab69194372 100644
--- a/settings/src/components/appNavigation.vue
+++ b/settings/src/components/appNavigation.vue
@@ -6,7 +6,7 @@
<ul :id="menu.id">
<navigation-item v-for="item in menu.items" :item="item" :key="item.key" />
</ul>
- <div id="app-settings">
+ <div id="app-settings" v-if="!!$slots['settings-content']">
<div id="app-settings-header">
<button class="settings-button"
data-apps-slide-toggle="#app-settings-content"