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

@ -34,6 +34,7 @@
await this.form.patch('/webauthn/credentials/' + this.id + '/name')
if( this.form.errors.any() === false ) {
this.$notify({ type: 'is-success', text: this.$t('auth.webauthn.device_successfully_registered') })
this.$router.push({name: 'settings.webauthn.devices', params: { toRefresh: true }})
}