Refactor success and error messages

This commit is contained in:
kolaente 2021-06-22 22:07:57 +02:00
parent ab4edc17de
commit cdc805c8da
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
55 changed files with 219 additions and 256 deletions

View file

@ -131,7 +131,7 @@ export default {
this.$set(this.backgrounds, l.id, b)
})
.catch(e => {
this.error(e, this)
this.error(e)
})
}
})
@ -144,7 +144,7 @@ export default {
return
}
this.$store.dispatch('lists/toggleListFavorite', list)
.catch(e => this.error(e, this))
.catch(e => this.error(e))
},
saveShowArchivedState() {
localStorage.setItem('showArchived', JSON.stringify(this.showArchived))