Skip to content

Commit c5b1fec

Browse files
Pearl1594Pearl Dsilva
andauthored
ui: Storage Pool Tags unable to delete last tag (#4611)
* UI Storage Pool Tags: unable to delete last tag * add updatePhysicalNetwork to the list Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
1 parent 8a9ae6f commit c5b1fec

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)