Add minimal draft management tool
This commit is contained in:
parent
1edada7e9d
commit
02e2e6b1bf
10 changed files with 186 additions and 45 deletions
|
|
@ -22,6 +22,9 @@ export const getters = {
|
|||
return (type, refId) => {
|
||||
return Object.values(state.drafts).filter(draft => draft.type === type && draft.refId === refId)
|
||||
}
|
||||
},
|
||||
draftsArray (state) {
|
||||
return Object.values(state.drafts)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue