lint: fix eslint

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-22 15:58:54 +01:00
parent 658d358e70
commit 2bd12ed7b5
2 changed files with 3 additions and 3 deletions

View File

@@ -208,13 +208,13 @@ export default {
confirmClasses: 'error', confirmClasses: 'error',
cancel: t('deck', 'Cancel'), cancel: t('deck', 'Cancel'),
}, },
async (result) => { async(result) => {
if (result) { if (result) {
try { try {
this.isLoading = true this.isLoading = true
await this.$store.dispatch('transferOwnership', { await this.$store.dispatch('transferOwnership', {
boardId: this.board.id, boardId: this.board.id,
newOwner newOwner,
}) })
const successMessage = t('deck', 'Transfer the board for {user} successfully', { user: newOwner }) const successMessage = t('deck', 'Transfer the board for {user} successfully', { user: newOwner })
showSuccess(successMessage) showSuccess(successMessage)

View File

@@ -131,7 +131,7 @@ export default {
}, },
activeBoards() { activeBoards() {
return this.$store.getters.boards.filter((item) => item.deletedAt === 0 && item.archived === false) return this.$store.getters.boards.filter((item) => item.deletedAt === 0 && item.archived === false)
} },
}, },
methods: { methods: {
openCard() { openCard() {