force download wipe json when deleting card
This commit is contained in:
@@ -412,6 +412,12 @@ new Vue({
|
|||||||
let self = this
|
let self = this
|
||||||
let cards = _.findWhere(this.cards, {id: cardId})
|
let cards = _.findWhere(this.cards, {id: cardId})
|
||||||
|
|
||||||
|
Quasar.utils.exportFile(
|
||||||
|
cards.card_name + '.json',
|
||||||
|
this.qrCodeDialog.data_wipe,
|
||||||
|
'application/json'
|
||||||
|
)
|
||||||
|
|
||||||
LNbits.utils
|
LNbits.utils
|
||||||
.confirmDialog(
|
.confirmDialog(
|
||||||
"Are you sure you want to delete this card? Without access to the card keys you won't be able to reset them in the future!"
|
"Are you sure you want to delete this card? Without access to the card keys you won't be able to reset them in the future!"
|
||||||
|
|||||||
Reference in New Issue
Block a user