subdomain: guard allowed_record_types type.
This commit is contained in:
parent
5dbbca0ffb
commit
9ba5342f3c
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue