Fix app-navigation loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
584e9ac961
commit
e5cc147d69
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue