mirror of https://github.com/apache/cloudstack.git
ui: allow clearing dns during zone update (#7276)
* ui: allow clearing dns during zone update Fixes #7273 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * allow internal dns2 clearing Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
55e35c6e0c
commit
d871729970
|
|
@ -1367,13 +1367,13 @@ export default {
|
|||
continue
|
||||
}
|
||||
if (input === undefined || input === null ||
|
||||
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork', 'updateDiskOffering', 'updateNetworkOffering', 'updateServiceOffering'].includes(action.api))) {
|
||||
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork', 'updateDiskOffering', 'updateNetworkOffering', 'updateServiceOffering', 'updateZone'].includes(action.api))) {
|
||||
if (param.type === 'boolean') {
|
||||
params[key] = false
|
||||
}
|
||||
break
|
||||
}
|
||||
if (input === '' && !['tags', 'hosttags', 'storagetags'].includes(key)) {
|
||||
if (input === '' && !['tags', 'hosttags', 'storagetags', 'dns2', 'ip6dns1', 'ip6dns2', 'internaldns2'].includes(key)) {
|
||||
break
|
||||
}
|
||||
if (action.mapping && key in action.mapping && action.mapping[key].options) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue