Cleaning Code, moving functions...

This commit is contained in:
Paolo Arena
2019-03-22 18:49:38 +01:00
parent dd695a7ce5
commit 4d32467eb1
10 changed files with 49 additions and 99 deletions

View File

@@ -122,7 +122,6 @@ namespace Getters {
})
if (UserStore.state.isAdmin) {
state.menulinks = {
Dashboard: {
@@ -175,6 +174,8 @@ namespace Getters {
}
}
console.log('___ return getMenu ', state.menulinks)
return state.menulinks
}, 'getmenu')
@@ -284,7 +285,7 @@ namespace Mutations {
console.log('config', config)
if (config) {
config.value = String(showtype)
Todos.state.showtype = parseInt(config.value)
Todos.state.showtype = parseInt(config.value, 10)
} else {
Todos.state.showtype = showtype
}