Add draft count to nav panel
This commit is contained in:
parent
1bffcc5fe7
commit
71f16ec39c
2 changed files with 5 additions and 1 deletions
|
|
@ -31,6 +31,9 @@ export const getters = {
|
|||
},
|
||||
draftsArray (state) {
|
||||
return Object.values(state.drafts)
|
||||
},
|
||||
draftCount (state) {
|
||||
return Object.values(state.drafts).length
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue