Fix app-navigation loading

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-02-21 12:22:25 +01:00
parent 584e9ac961
commit e5cc147d69
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -21,7 +21,7 @@
-->
<template>
<AppContent app-name="settings" :navigation-class="{ 'icon-loading': loading }">
<AppContent app-name="settings" :navigation-class="{ 'icon-loading': loadingAddGroup }">
<template #navigation>
<AppNavigationNew button-id="new-user-button" :text="t('settings','New user')" button-class="icon-add" @click="toggleNewUserMenu" />
<ul id="usergrouplist">
@ -243,9 +243,6 @@ export default {
users() {
return this.$store.getters.getUsers;
},
loading() {
return Object.keys(this.users).length === 0;
},
usersOffset() {
return this.$store.getters.getUsersOffset;
},