Apply eslint fixes

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-07-31 21:18:00 +02:00
parent 9821d77796
commit fca2e3530f
13 changed files with 19 additions and 19 deletions

View File

@@ -64,7 +64,7 @@ export default {
createBoard(e) {
const title = e.currentTarget.childNodes[0].value
this.$store.dispatch('createBoard', {
title: title,
title,
color: this.color.substring(1),
})
this.editing = false

View File

@@ -123,10 +123,10 @@ export default {
}
return this.board.color
},
undoText: function() {
undoText() {
return t('deck', 'Board {0} deleted', [this.board.title])
},
routeTo: function() {
routeTo() {
return {
name: 'board',
params: { id: this.board.id },

View File

@@ -84,7 +84,7 @@ export default {
},
},
watch: {
boards: function(newVal, prevVal) {
boards(newVal, prevVal) {
if (this.openOnAddBoards === true && prevVal.length < newVal.length) {
this.opened = true
}