tested everything so far, fixed identation, fixed some bugs and added i18n entries
This commit is contained in:
parent
fee857e6b2
commit
42236b0c76
12 changed files with 506 additions and 238 deletions
|
|
@ -96,11 +96,20 @@ const adminSettingsStorage = {
|
|||
},
|
||||
adminConfirmUser (store, user) {
|
||||
return store.rootState.api.backendInteractor.adminConfirmUser({ user })
|
||||
.then(res => store.dispatch('fetchUser', user.id))
|
||||
.then(() => store.dispatch('fetchUser', user.id))
|
||||
},
|
||||
adminResendConfirmationEmail (store, user) {
|
||||
return store.rootState.api.backendInteractor.adminResendConfirmationEmail({ user })
|
||||
},
|
||||
adminApproveUser (store, user) {
|
||||
return store.rootState.api.backendInteractor.adminApproveUser({ user })
|
||||
},
|
||||
adminListStatuses (store, { user, opts }) {
|
||||
return store.rootState.api.backendInteractor.adminListStatuses({ user, opts })
|
||||
},
|
||||
adminChangeStatusScope (store, { opts }) {
|
||||
return store.rootState.api.backendInteractor.adminChangeStatusScope({ opts })
|
||||
},
|
||||
loadFrontendsStuff ({ rootState, commit }) {
|
||||
rootState.api.backendInteractor.fetchAvailableFrontends()
|
||||
.then(frontends => commit('setAvailableFrontends', { frontends }))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue