You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/03/08 10:54:16 UTC

[cloudstack] branch 4.16 updated: UI: Fix Autogenview cleared resource (#6066)

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

nvazquez 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 e4d70d4  UI: Fix Autogenview cleared resource (#6066)
e4d70d4 is described below

commit e4d70d4214465914b3c2639968501570b3d424e4
Author: Nicolas Vazquez <ni...@gmail.com>
AuthorDate: Tue Mar 8 07:53:22 2022 -0300

    UI: Fix Autogenview cleared resource (#6066)
---
 ui/src/views/AutogenView.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index 9587ed1..52b82b7 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -921,7 +921,7 @@ export default {
           }
         }
         if (this.items.length > 0) {
-          if (!this.showAction) {
+          if (!this.showAction || this.dataView) {
             this.resource = this.items[0]
             this.$emit('change-resource', this.resource)
           }