mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Use $root var for appSettings because vue.prototype vars are not reactive
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
|
||||
computed: {
|
||||
displayedOtp() {
|
||||
return appSettings.showTokenAsDot ? this.otp.replace(/[0-9]/g, '●') : this.otp
|
||||
return this.$root.appSettings.showTokenAsDot ? this.otp.replace(/[0-9]/g, '●') : this.otp
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user