Restore old routes, enable user route as fallback.
This commit is contained in:
parent
0ad837846a
commit
24eba26c5b
9 changed files with 37 additions and 53 deletions
|
@ -257,7 +257,7 @@ const UserSettings = {
|
|||
.then((res) => {
|
||||
if (res.status === 'success') {
|
||||
this.$store.dispatch('logout')
|
||||
this.$router.push('/~/main/all')
|
||||
this.$router.push({name: 'root'})
|
||||
} else {
|
||||
this.deleteAccountError = res.error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue