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

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


The following commit(s) were added to refs/heads/4.17 by this push:
     new 147ea06af3 UI: fix security group lists in project view (#7164)
147ea06af3 is described below

commit 147ea06af33217376ae7faad2bfd639d11a13bca
Author: Wei Zhou <[email protected]>
AuthorDate: Wed Feb 8 15:10:32 2023 +0100

    UI: fix security group lists in project view (#7164)
---
 ui/src/views/compute/wizard/SecurityGroupSelection.vue | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ui/src/views/compute/wizard/SecurityGroupSelection.vue 
b/ui/src/views/compute/wizard/SecurityGroupSelection.vue
index 7d2a90f31f..51f96a569a 100644
--- a/ui/src/views/compute/wizard/SecurityGroupSelection.vue
+++ b/ui/src/views/compute/wizard/SecurityGroupSelection.vue
@@ -140,8 +140,9 @@ export default {
   methods: {
     fetchData () {
       const params = {
-        domainid: this.$store.getters.userInfo.domainid,
-        account: this.$store.getters.userInfo.account,
+        projectid: this.$store.getters.project ? 
this.$store.getters.project.id : null,
+        domainid: this.$store.getters.project && 
this.$store.getters.project.id ? null : this.$store.getters.userInfo.domainid,
+        account: this.$store.getters.project && this.$store.getters.project.id 
? null : this.$store.getters.userInfo.account,
         page: this.page,
         pageSize: this.pageSize
       }

Reply via email to