fix extra null

This commit is contained in:
dni ⚡
2024-10-10 13:20:05 +02:00
parent 6989d9ab34
commit fa57b0de3f
5 changed files with 5 additions and 10 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-4
View File
@@ -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;
}
+1 -1
View File
@@ -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,
+2 -3
View File
@@ -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', {