mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 08:12:25 +02:00
Set Close/Back buttons to always browse back - Closes #217
This commit is contained in:
@ -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 '})
|
||||
});
|
||||
|
||||
},
|
||||
|
Reference in New Issue
Block a user