- dialog confirm delete item

- fix: context-menu (right click) declared only once and using twice using:
  @click.native="$refs.popover.$refs.popup.show()"
This commit is contained in:
Paolo Arena
2019-01-29 23:13:28 +01:00
parent e029f6165e
commit 818a7a4289
20 changed files with 307 additions and 123 deletions

View File

@@ -9,7 +9,12 @@ const state: IGlobalState = {
mobileMode: false,
menuCollapse: true,
leftDrawerOpen: true,
posts: []
posts: [],
listatodo: [
{namecat: 'personal', description: 'personal'},
{namecat: 'work', description: 'work'},
{namecat: 'shopping', description: 'shopping'}
]
}
const b = storeBuilder.module<IGlobalState>('GlobalModule', state)
@@ -18,10 +23,15 @@ const b = storeBuilder.module<IGlobalState>('GlobalModule', state)
namespace Getters {
const conta = b.read(state => state.conta, 'conta')
const listatodo = b.read(state => state.listatodo, 'listatodo')
export const getters = {
get conta() {
return conta()
},
get listaTodo() {
return listatodo()
}
}
}