add hidden apps compatible with default menu (fix #219)
This commit is contained in:
parent
b141d7ba7c
commit
5a586c40a1
|
@ -41,6 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<ul class="side-menu-apps-list">
|
<ul class="side-menu-apps-list">
|
||||||
<SideMenuApp
|
<SideMenuApp
|
||||||
v-for="(app, key) in apps"
|
v-for="(app, key) in apps"
|
||||||
|
v-if="!hiddenApps.includes(app.id)"
|
||||||
v-bind:classes="{'side-menu-app': true, 'active': app.active}"
|
v-bind:classes="{'side-menu-app': true, 'active': app.active}"
|
||||||
v-bind:key="key"
|
v-bind:key="key"
|
||||||
v-bind:icon="app.icon"
|
v-bind:icon="app.icon"
|
||||||
|
@ -76,6 +77,7 @@ export default {
|
||||||
avatar: null,
|
avatar: null,
|
||||||
forceLightIcon: false,
|
forceLightIcon: false,
|
||||||
targetBlankApps: [],
|
targetBlankApps: [],
|
||||||
|
hiddenApps: [],
|
||||||
settings: null,
|
settings: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -127,6 +129,7 @@ export default {
|
||||||
this.logo = config['logo']
|
this.logo = config['logo']
|
||||||
this.logoLink = config['logo-link']
|
this.logoLink = config['logo-link']
|
||||||
this.settings = config['settings']
|
this.settings = config['settings']
|
||||||
|
this.hiddenApps = config['big-menu-hidden-apps']
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue