reset form

This commit is contained in:
Tiago vasconcelos 2021-11-10 17:00:53 +00:00
parent 10fb16467b
commit 1537b06e00

View File

@ -509,6 +509,13 @@
.then(function (response) { .then(function (response) {
self.ChargeLinks.push(mapCharge(response.data)) self.ChargeLinks.push(mapCharge(response.data))
self.formDialogCharge.show = false self.formDialogCharge.show = false
self.formDialogCharge.data = {
onchain: false,
lnbits: false,
description: '',
time: null,
amount: null
}
}) })
.catch(function (error) { .catch(function (error) {
LNbits.utils.notifyApiError(error) LNbits.utils.notifyApiError(error)