style: update notyf !

This commit is contained in:
Julien Calixte
2019-08-26 02:32:12 +02:00
parent 1b33242bf0
commit c0d647e887
22 changed files with 69 additions and 384 deletions

View File

@@ -168,7 +168,7 @@ export default class AccountItem extends BaseAccount {
if (this.id) {
this.account = await accountService.get(this.id)
if (!this.account) {
notif.alert(`le compte ${this.id} n'existe pas`)
notif.error(`le compte ${this.id} n'existe pas`)
this.$router.push({ name: 'home' })
return
}
@@ -223,7 +223,7 @@ export default class AccountItem extends BaseAccount {
)
}
await transactionService.multipleSave(transactions)
notif.confirm('Dépenses mises à jour.')
notif.success('Dépenses mises à jour.')
} catch (error) {
// tslint:disable-next-line
console.warn({ error })