update indentation
This commit is contained in:
parent
8aa07efaf9
commit
a647f05fa4
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav class="app-menu show">
|
<nav class="app-menu show">
|
||||||
<ul class="app-menu-main" v-if="apps">
|
<ul class="app-menu-main" v-if="apps !== null">
|
||||||
<li v-for="app in mainAppList()"
|
<li v-for="app in mainAppList()"
|
||||||
:key="app.id"
|
:key="app.id"
|
||||||
:data-app-id="app.id"
|
:data-app-id="app.id"
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')" v-if="apps">
|
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')" v-if="apps !== null">
|
||||||
<NcActionLink v-for="app in popoverAppList()"
|
<NcActionLink v-for="app in popoverAppList()"
|
||||||
:key="app.id"
|
:key="app.id"
|
||||||
:aria-label="appLabel(app)"
|
:aria-label="appLabel(app)"
|
||||||
|
@ -77,12 +77,11 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const ncApps = loadState('core', 'apps', {})
|
const ncApps = loadState('core', 'apps', {})
|
||||||
const that = this
|
this.apps = {}
|
||||||
that.apps = {}
|
|
||||||
|
|
||||||
Array.from(window.topMenuApps).forEach((id) => {
|
Array.from(window.topMenuApps).forEach((id) => {
|
||||||
if (ncApps.hasOwnProperty(id)) {
|
if (ncApps.hasOwnProperty(id)) {
|
||||||
that.apps[id] = ncApps[id]
|
this.apps[id] = ncApps[id]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue