Add archive board

This commit is contained in:
Michael Weimann
2018-12-16 23:30:09 +01:00
parent 22744ee39c
commit 69ad41bb58
5 changed files with 94 additions and 32 deletions

View File

@@ -71,7 +71,8 @@ const addButton = {
const title = submitEvent.currentTarget.childNodes[0].value
store.dispatch('createBoard', {
title: title,
color: '#000000'
hashedColor: '#000000',
color: '000000'
})
addButton.classes = []
},
@@ -99,7 +100,7 @@ export default {
return {
loading: this.loading,
items: defaultCategories
.concat(this.$store.getters.boards.map(boardToMenuItem))
.concat(this.$store.getters.noneArchivedBoards.map(boardToMenuItem))
.concat([this.addButton])
}
}