feat: add validators to check values in services
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
committed by
Julius Härtl
parent
f9acf7778f
commit
1217b37b19
@@ -70,9 +70,9 @@ export default {
|
||||
startCreateBoard(e) {
|
||||
this.editing = true
|
||||
},
|
||||
createBoard(e) {
|
||||
async createBoard(e) {
|
||||
const title = e.currentTarget.childNodes[0].value
|
||||
this.$store.dispatch('createBoard', {
|
||||
await this.$store.dispatch('createBoard', {
|
||||
title,
|
||||
color: this.color.substring(1),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user