mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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>
This commit is contained in:
parent
8a9ae6fcee
commit
c5b1fec11b
@ -957,7 +957,8 @@ export default {
|
||||
if (param.name !== key) {
|
||||
continue
|
||||
}
|
||||
if (input === undefined || input === null || input === '') {
|
||||
if (!input === undefined || input === null ||
|
||||
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork'].includes(action.api))) {
|
||||
if (param.type === 'boolean') {
|
||||
params[key] = false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user