mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-14 07:48:37 +02:00
Add notifications to give feedback after some actions
This commit is contained in:
@ -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 }})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user