Clean vuex

This commit is contained in:
2020-07-05 14:57:09 +02:00
parent ccb046a08a
commit 8c6c40cd78
4 changed files with 11 additions and 11 deletions
+2 -3
View File
@@ -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),
}