- VerifiedEmail OK

- Toolbar now save leftDrawerOpen state
- Use LocalStorage to Autologin
This commit is contained in:
Paolo Arena
2019-01-02 18:01:36 +01:00
parent 802f34a893
commit f01a3445f7
11 changed files with 94 additions and 83 deletions

View File

@@ -8,6 +8,7 @@ const state: IGlobalState = {
layoutNeeded: true,
mobileMode: false,
menuCollapse: true,
leftDrawerOpen: true,
posts: []
}
@@ -31,8 +32,13 @@ namespace Mutations {
state.conta = num
}
function setleftDrawerOpen(state: IGlobalState, bool: boolean) {
state.leftDrawerOpen = bool
}
export const mutations = {
setConta: b.commit(setConta)
setConta: b.commit(setConta),
setleftDrawerOpen: b.commit(setleftDrawerOpen)
}
}