style: update notyf !
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user