Add API to register card actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -34,6 +34,9 @@ export default {
|
||||
stacksByBoard: state => (id) => {
|
||||
return state.stacks.filter((stack) => stack.boardId === id).sort((a, b) => a.order - b.order)
|
||||
},
|
||||
stackById: state => (id) => {
|
||||
return state.stacks.find((stack) => stack.id === id)
|
||||
},
|
||||
},
|
||||
mutations: {
|
||||
addStack(state, stack) {
|
||||
|
||||
Reference in New Issue
Block a user