Skip to content
Snippets Groups Projects
Commit 88a7c0f6 authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

add admin list to state

parent 80ae531d
No related branches found
No related tags found
1 merge request!128Admin page guard
const state = {
token: null,
adminList: [],
};
const mutations = {
......@@ -9,6 +10,9 @@ const mutations = {
saveToken(state, token) {
state.token = token;
},
addAdmin(state, communityID) {
state.adminList.push(communityID);
},
};
export default {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment