fix null host tags while creating zone (#8976)

Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
This commit is contained in:
GaOrtiga 2024-06-10 08:03:42 -03:00 committed by GitHub
parent 21d07132ad
commit ee39104ec0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1358,7 +1358,7 @@ export default {
hostData.clusterid = this.stepData.clusterReturned.id
hostData.hypervisor = this.stepData.clusterReturned.hypervisortype
hostData.clustertype = this.stepData.clusterReturned.clustertype
hostData.hosttags = this.prefillContent?.hostTags || null
hostData.hosttags = this.prefillContent?.hostTags || ''
hostData.username = this.prefillContent?.hostUserName || null
hostData.password = hostPassword
const hostname = this.prefillContent?.hostName || null