tranlate and empty title after creation

Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
Jakob Röhrl
2020-07-16 10:03:35 +02:00
committed by Julius Härtl
parent ce41400a22
commit e1e96a2fa2

View File

@@ -25,7 +25,7 @@
<Controls :board="board" /> <Controls :board="board" />
<EmptyContent v-if="stacksByBoard.length === 0" icon="icon-pause"> <EmptyContent v-if="stacksByBoard.length === 0" icon="icon-pause">
No lists, add one {{ t('deck', 'No lists, add one') }}
<template #desc> <template #desc>
<form @submit.prevent="addNewStack()"> <form @submit.prevent="addNewStack()">
<input id="new-stack-input-main" <input id="new-stack-input-main"
@@ -146,6 +146,7 @@ export default {
boardId: this.id, boardId: this.id,
} }
this.$store.dispatch('createStack', newStack) this.$store.dispatch('createStack', newStack)
this.newStackTitle = ''
}, },
}, },
} }