diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-02 08:49:30 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | 64c2e946f4d17e877105116ddc6e02f9c2aa042b (patch) | |
tree | 370cd51990d5e4ab6fea6860bb146acc0e85e319 /settings/src/views | |
parent | b4a7be20c8837d2ce74b082a6668b8896cf3318f (diff) | |
download | nextcloud-server-64c2e946f4d17e877105116ddc6e02f9c2aa042b.tar.gz nextcloud-server-64c2e946f4d17e877105116ddc6e02f9c2aa042b.zip |
Some code cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/src/views')
-rw-r--r-- | settings/src/views/Apps.vue | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/settings/src/views/Apps.vue b/settings/src/views/Apps.vue index f894ebd8e50..994677700e1 100644 --- a/settings/src/views/Apps.vue +++ b/settings/src/views/Apps.vue @@ -23,9 +23,11 @@ <template> <div id="app"> <app-navigation :menu="menu" /> - <app-list :category="category" :app="currentApp" :search="search"></app-list> - <div id="app-sidebar" v-if="id && currentApp"> - <app-details :category="category" :app="currentApp"></app-details> + <div id="app-content" class="app-settings-content" :class="{ 'with-app-sidebar': currentApp, 'icon-loading': loadingList }"> + <app-list :category="category" :app="currentApp" :search="search"></app-list> + <div id="app-sidebar" v-if="id && currentApp"> + <app-details :category="category" :app="currentApp"></app-details> + </div> </div> </div> </template> @@ -98,6 +100,9 @@ export default { loading() { return this.$store.getters.loading('categories'); }, + loadingList() { + return this.$store.getters.loading('list'); + }, currentApp() { return this.apps.find(app => app.id === this.id ); }, |