You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2021/01/25 06:54:06 UTC
[cloudstack] branch 4.15 updated: ui: Storage Pool Tags unable to
delete last tag (#4611)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new c5b1fec ui: Storage Pool Tags unable to delete last tag (#4611)
c5b1fec is described below
commit c5b1fec11ba38d54454860f4ab76e682d715b71b
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Jan 25 12:23:44 2021 +0530
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 <pe...@shapeblue.com>
---
ui/src/views/AutogenView.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index 0cdf4a6..157d7d7 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -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
}