update indentation
This commit is contained in:
parent
8aa07efaf9
commit
a647f05fa4
|
@ -22,7 +22,7 @@
|
|||
|
||||
<template>
|
||||
<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()"
|
||||
:key="app.id"
|
||||
:data-app-id="app.id"
|
||||
|
@ -40,7 +40,7 @@
|
|||
</a>
|
||||
</li>
|
||||
</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()"
|
||||
:key="app.id"
|
||||
:aria-label="appLabel(app)"
|
||||
|
@ -77,12 +77,11 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
const ncApps = loadState('core', 'apps', {})
|
||||
const that = this
|
||||
that.apps = {}
|
||||
this.apps = {}
|
||||
|
||||
Array.from(window.topMenuApps).forEach((id) => {
|
||||
if (ncApps.hasOwnProperty(id)) {
|
||||
that.apps[id] = ncApps[id]
|
||||
this.apps[id] = ncApps[id]
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue