clone board func with labels and stacks

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-09-06 09:32:52 +02:00
parent cba7525951
commit 36afac9eff
6 changed files with 98 additions and 0 deletions

View File

@@ -130,6 +130,16 @@ export default {
text: t('deck', 'Edit board')
})
actions.push({
action: () => {
this.hideMenu()
// this.boardApi.cloneBoard(this.board)
this.$store.dispatch('cloneBoard', this.board)
},
icon: 'icon-clone',
text: t('deck', 'Clone board')
})
if (!this.board.archived) {
actions.push({
action: () => {