reset form
This commit is contained in:
parent
10fb16467b
commit
1537b06e00
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue