Add minimal draft management tool

This commit is contained in:
tusooa 2023-03-10 12:10:39 -05:00
commit 02e2e6b1bf
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
10 changed files with 186 additions and 45 deletions

View file

@ -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)
}
}