This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.16 by this push:
     new 59a615c  ui: fix deploy vm in basic zone (#5856)
59a615c is described below

commit 59a615cf215323fbf6a5fc6cb93a425662337f5c
Author: Abhishek Kumar <[email protected]>
AuthorDate: Fri Jan 14 16:29:35 2022 +0530

    ui: fix deploy vm in basic zone (#5856)
    
    * ui: fix deploy vm in basic zone
    
    Signed-off-by: Abhishek Kumar <[email protected]>
---
 ui/src/views/compute/DeployVM.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/compute/DeployVM.vue 
b/ui/src/views/compute/DeployVM.vue
index dc76351..2d94211 100644
--- a/ui/src/views/compute/DeployVM.vue
+++ b/ui/src/views/compute/DeployVM.vue
@@ -1542,7 +1542,7 @@ export default {
       return key.split('.').join('\\002E')
     },
     updateSecurityGroups (securitygroupids) {
-      this.securitygroupids = securitygroupids
+      this.securitygroupids = securitygroupids || []
     },
     getText (option) {
       return _.get(option, 'displaytext', _.get(option, 'name'))

Reply via email to