diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-09-12 18:13:43 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-09-12 18:13:43 +0200 |
commit | ee2fbc470ae53882305d84a8e8aa6cbe05eb9fcc (patch) | |
tree | 2c10b82be82118fcdb53267afce9ec0969fb79e9 /src/App.vue | |
parent | d6ba6644030ba0c42773a23831daaaaf9824a298 (diff) |
Improve a bit usage of nc components
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/App.vue b/src/App.vue index cd876fde..b9108f50 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,12 +1,14 @@ <template> <NcContent v-if="!serverData.setup" app-name="social" :class="{public: serverData.public}"> <NcAppNavigation v-if="!serverData.public"> - <NcAppNavigationItem v-for="item in menu.items" :key="item.key" :to="item.to" - :title="item.title" :exact="true"> - <template #icon> - <component :is="item.icon" /> - </template> - </NcAppNavigationItem> + <template #list> + <NcAppNavigationItem v-for="item in menu.items" :key="item.key" :to="item.to" + :title="item.title" :exact="true"> + <template #icon> + <component :is="item.icon" /> + </template> + </NcAppNavigationItem> + </template> </NcAppNavigation> <NcAppContent> <div v-if="serverData.isAdmin && !serverData.checks.success" class="setup social__wrapper"> |