Add notifications to give feedback after some actions

This commit is contained in:
Bubka
2022-09-19 12:19:34 +02:00
parent ca910e159f
commit 95554a7034
10 changed files with 16 additions and 1 deletions

View File

@ -241,6 +241,7 @@
await this.form.put('/api/v1/twofaccounts/' + this.$route.params.twofaccountId)
if( this.form.errors.any() === false ) {
this.$notify({ type: 'is-success', text: this.$t('twofaccounts.account_updated') })
this.$router.push({name: 'accounts', params: { initialEditMode: true, toRefresh: true }})
}