kopia lustrzana https://github.com/nextcloud/social
Use new AppNavigationItem
Signed-off-by: Julius Härtl <jus@bitgrid.net>pull/338/head
rodzic
8769b4c3bd
commit
8705512f12
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="!serverData.setup" id="app-social" :class="{public: serverData.public}">
|
<div v-if="!serverData.setup" id="app-social" :class="{public: serverData.public}">
|
||||||
<div v-if="!serverData.public" id="app-navigation">
|
<div v-if="!serverData.public" id="app-navigation">
|
||||||
<app-navigation :menu="menu" />
|
<ul>
|
||||||
|
<app-navigation-item v-for="item in menu.items" :key="item.key" :item="item" />
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="app-content">
|
<div id="app-content">
|
||||||
<div v-if="serverData.isAdmin && !serverData.checks.success" class="setup social__wrapper">
|
<div v-if="serverData.isAdmin && !serverData.checks.success" class="setup social__wrapper">
|
||||||
|
@ -90,7 +92,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
AppNavigation
|
AppNavigationItem
|
||||||
} from 'nextcloud-vue'
|
} from 'nextcloud-vue'
|
||||||
import axios from 'nextcloud-axios'
|
import axios from 'nextcloud-axios'
|
||||||
import Search from './components/Search'
|
import Search from './components/Search'
|
||||||
|
@ -99,7 +101,7 @@ import currentuserMixin from './mixins/currentUserMixin'
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {
|
components: {
|
||||||
AppNavigation,
|
AppNavigationItem,
|
||||||
Search
|
Search
|
||||||
},
|
},
|
||||||
mixins: [currentuserMixin],
|
mixins: [currentuserMixin],
|
||||||
|
|
Ładowanie…
Reference in New Issue