Add option to close token modal after the displayed token is copied

This commit is contained in:
Bubka
2020-03-23 21:41:59 +01:00
parent 0baf57b2a2
commit eb589b2b94
6 changed files with 28 additions and 4 deletions

View File

@ -163,6 +163,11 @@
clipboardSuccessHandler ({ value, event }) {
console.log('success', value)
if(this.$root.appSettings.closeTokenOnCopy) {
this.$parent.isActive = false
this.clearOTP()
}
},
clipboardErrorHandler ({ value, event }) {