feat: add readNotes and clearAllData option

This commit is contained in:
Vlad Stan 2023-07-19 11:50:47 +03:00
parent bb2d68d7dc
commit ee3b161b47
6 changed files with 166 additions and 40 deletions

View file

@ -7,7 +7,6 @@ async function userConfig(path) {
data: function () {
return {
clearAllData: false
}
},
methods: {
@ -17,7 +16,7 @@ async function userConfig(path) {
'Please make sure you save your private key! You will not be able to recover it later!'
)
.onOk(async () => {
this.$emit('logout', { clearAllData: this.clearAllData })
this.$emit('logout')
})
},
copyText(text) {