mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-29 13:22:37 +02:00
subdomain: guard allowed_record_types type.
This commit is contained in:
@@ -452,7 +452,10 @@
|
|||||||
id: this.domainDialog.data.wallet
|
id: this.domainDialog.data.wallet
|
||||||
})
|
})
|
||||||
var data = this.domainDialog.data
|
var data = this.domainDialog.data
|
||||||
data.allowed_record_types = data.allowed_record_types.join(', ')
|
data.allowed_record_types =
|
||||||
|
typeof data.allowed_record_types === 'string'
|
||||||
|
? data.allowed_record_types
|
||||||
|
: data.allowed_record_types.join(', ')
|
||||||
console.log(this.domainDialog)
|
console.log(this.domainDialog)
|
||||||
if (data.id) {
|
if (data.id) {
|
||||||
this.updateDomain(wallet, data)
|
this.updateDomain(wallet, data)
|
||||||
|
Reference in New Issue
Block a user