Skip to content

Commit 147ea06

Browse files
UI: fix security group lists in project view (#7164)
1 parent 66f3515 commit 147ea06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ui/src/views/compute/wizard/SecurityGroupSelection.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ export default {
140140
methods: {
141141
fetchData () {
142142
const params = {
143-
domainid: this.$store.getters.userInfo.domainid,
144-
account: this.$store.getters.userInfo.account,
143+
projectid: this.$store.getters.project ? this.$store.getters.project.id : null,
144+
domainid: this.$store.getters.project && this.$store.getters.project.id ? null : this.$store.getters.userInfo.domainid,
145+
account: this.$store.getters.project && this.$store.getters.project.id ? null : this.$store.getters.userInfo.account,
145146
page: this.page,
146147
pageSize: this.pageSize
147148
}

0 commit comments

Comments
 (0)