Clean vuex
This commit is contained in:
@@ -48,7 +48,6 @@ export const actions = {
|
||||
}
|
||||
|
||||
export const getters = {
|
||||
isEmpty(state) {
|
||||
return state.isInitialized && state.notes.length === 0
|
||||
},
|
||||
isEmpty: (state) => state.isInitialized && state.notes.length === 0,
|
||||
find: (state) => (uuid) => state.notes.find((note) => note.uuid === uuid),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user