From d6b581263f49b88fc1a26d945b63017e3f943716 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 11 Apr 2023 11:55:31 +0530 Subject: [PATCH] ui: allow creating account networkdomain (#7394) Fixes #7227 Signed-off-by: Abhishek Kumar --- ui/src/views/AutogenView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 55ab17bf1de..7e81386ad80 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -1416,13 +1416,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', 'updateAccount'].includes(action.api))) { if (param.type === 'boolean') { params[key] = false } break } - if (input === '' && !['tags', 'hosttags', 'storagetags'].includes(key)) { + if (input === '' && !['tags', 'hosttags', 'storagetags', 'networkdomain'].includes(key)) { break } if (action.mapping && key in action.mapping && action.mapping[key].options) {