update indentation

This commit is contained in:
Simon Vieille 2022-10-16 19:01:46 +02:00
parent 8aa07efaf9
commit a647f05fa4
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 90 additions and 91 deletions

View file

@ -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]
}
})