We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 159e271 commit 8518f5eCopy full SHA for 8518f5e
resources/js/views/Error.vue
@@ -84,7 +84,7 @@
84
mounted(){
85
// stop OTP generation on modal close
86
this.$on('modalClose', function() {
87
- window.history.length > 1 ? this.$router.go(-1) : this.$router.push({ name: 'accounts '})
+ window.history.length > 1 && this.$route.name !== '404' ? this.$router.go(-1) : this.$router.push({ name: 'accounts' })
88
});
89
90
},
0 commit comments