Skip to content

Commit cbcd698

Browse files
committed
Merge remote-tracking branch 'origin/4.15'
2 parents 6c346df + c5b1fec commit cbcd698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/views/AutogenView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,8 @@ export default {
957957
if (param.name !== key) {
958958
continue
959959
}
960-
if (input === undefined || input === null || input === '') {
960+
if (!input === undefined || input === null ||
961+
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork'].includes(action.api))) {
961962
if (param.type === 'boolean') {
962963
params[key] = false
963964
}

0 commit comments

Comments
 (0)