catch NavigationDuplicated errors

This commit is contained in:
Milos Stojanovic
2020-05-17 17:29:10 +02:00
parent e57bfc7b33
commit 5be73a216d
3 changed files with 8 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ new Vue({
.then((user) => {
this.$store.commit('initialize')
this.$store.commit('setUser', user)
this.$router.push('/')
this.$router.push('/').catch(() => {})
})
.catch(() => {
this.$notification.open({