prettier formatting for lnticket extension

This commit is contained in:
Kristjan
2021-01-02 17:05:24 +01:00
parent 94b3416300
commit afa7fce1c4
3 changed files with 12 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "Support Tickets", "name": "Support Tickets",
"short_description": "LN support ticket system", "short_description": "LN support ticket system",
"icon": "contact_support", "icon": "contact_support",
"contributors": ["benarc"] "contributors": ["benarc"]
} }

View File

@@ -142,7 +142,7 @@
name: self.formDialog.data.name, name: self.formDialog.data.name,
email: self.formDialog.data.email, email: self.formDialog.data.email,
ltext: self.formDialog.data.text, ltext: self.formDialog.data.text,
sats: self.formDialog.data.sats, sats: self.formDialog.data.sats
}) })
.then(function (response) { .then(function (response) {
self.paymentReq = response.data.payment_request self.paymentReq = response.data.payment_request
@@ -171,7 +171,6 @@
paymentReq: null paymentReq: null
} }
dismissMsg() dismissMsg()
self.formDialog.data.name = '' self.formDialog.data.name = ''
self.formDialog.data.email = '' self.formDialog.data.email = ''
@@ -179,9 +178,8 @@
self.$q.notify({ self.$q.notify({
type: 'positive', type: 'positive',
message: 'Sent, thank you!', message: 'Sent, thank you!',
icon: 'thumb_up', icon: 'thumb_up'
}) })
} }
}) })
.catch(function (error) { .catch(function (error) {

View File

@@ -252,7 +252,12 @@
{name: 'id', align: 'left', label: 'ID', field: 'id'}, {name: 'id', align: 'left', label: 'ID', field: 'id'},
{name: 'name', align: 'left', label: 'Name', field: 'name'}, {name: 'name', align: 'left', label: 'Name', field: 'name'},
{name: 'wallet', align: 'left', label: 'Wallet', field: 'wallet'}, {name: 'wallet', align: 'left', label: 'Wallet', field: 'wallet'},
{name: 'webhook', align: 'left', label: 'Webhook', field: 'webhook'}, {
name: 'webhook',
align: 'left',
label: 'Webhook',
field: 'webhook'
},
{ {
name: 'description', name: 'description',
align: 'left', align: 'left',