user management
This commit is contained in:
parent
e747ee896e
commit
889e458fb1
11 changed files with 244 additions and 1 deletions
|
|
@ -60,6 +60,9 @@ const adminSettingsStorage = {
|
|||
}
|
||||
},
|
||||
actions: {
|
||||
fetchAdminUsers (store) {
|
||||
store.rootState.api.backendInteractor.adminListUsers().then((users) => users.forEach(user => store.dispatch('fetchUserIfMissing', user.id)))
|
||||
},
|
||||
loadFrontendsStuff ({ rootState, commit }) {
|
||||
rootState.api.backendInteractor.fetchAvailableFrontends()
|
||||
.then(frontends => commit('setAvailableFrontends', { frontends }))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue