Add draft count to nav panel

This commit is contained in:
tusooa 2023-03-10 20:22:41 -05:00
commit 71f16ec39c
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
2 changed files with 5 additions and 1 deletions

View file

@ -31,6 +31,9 @@ export const getters = {
},
draftsArray (state) {
return Object.values(state.drafts)
},
draftCount (state) {
return Object.values(state.drafts).length
}
}