fix extra null
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -526,10 +526,6 @@ video {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.q-card--dark, .q-date--dark {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.q-card code {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@ window.LNbits = {
|
||||
preimage: data.preimage,
|
||||
payment_hash: data.payment_hash,
|
||||
expiry: data.expiry,
|
||||
extra: data.extra ? JSON.parse(data.extra) : {},
|
||||
extra: data.extra ?? {},
|
||||
wallet_id: data.wallet_id,
|
||||
webhook: data.webhook,
|
||||
webhook_status: data.webhook_status,
|
||||
|
||||
@@ -409,7 +409,7 @@ window.app.component('lnbits-dynamic-fields', {
|
||||
data() {
|
||||
return {
|
||||
formData: null,
|
||||
rules: [val => !!val || 'Field is required'],
|
||||
rules: [val => !!val || 'Field is required']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -428,7 +428,7 @@ window.app.component('lnbits-dynamic-fields', {
|
||||
},
|
||||
handleValueChanged() {
|
||||
this.$emit('update:model-value', this.formData)
|
||||
},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.formData = this.buildData(this.options, this.modelValue)
|
||||
@@ -464,7 +464,6 @@ window.app.component('lnbits-dynamic-chips', {
|
||||
this.chips = [...this.modelValue]
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
window.app.component('lnbits-update-balance', {
|
||||
|
||||
Reference in New Issue
Block a user