mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
[fix] close dialog on success registration
This commit is contained in:
parent
6fb2430009
commit
d13905c55a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ export default {
|
|||
message: this.$t(`register.${user.is_admin ? 'admin_' : ''}complete`),
|
||||
type: 'success'
|
||||
})
|
||||
this.$router.replace('/')
|
||||
this.close()
|
||||
} catch (e) {
|
||||
const error = get(e, 'response.data.errors[0].message', String(e))
|
||||
Message({
|
||||
|
|
Loading…
Reference in a new issue