Set Close/Back buttons to always browse back - Closes #217

This commit is contained in:
Bubka
2023-08-21 14:46:05 +02:00
parent a80a002ce7
commit fe4ebd586d
7 changed files with 138 additions and 18 deletions

View File

@ -84,7 +84,7 @@
mounted(){
// stop OTP generation on modal close
this.$on('modalClose', function() {
this.$router.push({name: 'accounts' });
window.history.length > 1 ? this.$router.go(-1) : this.$router.push({ name: 'accounts '})
});
},