We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66f3515 commit 147ea06Copy full SHA for 147ea06
1 file changed
ui/src/views/compute/wizard/SecurityGroupSelection.vue
@@ -140,8 +140,9 @@ export default {
140
methods: {
141
fetchData () {
142
const params = {
143
- domainid: this.$store.getters.userInfo.domainid,
144
- 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,
145
+ account: this.$store.getters.project && this.$store.getters.project.id ? null : this.$store.getters.userInfo.account,
146
page: this.page,
147
pageSize: this.pageSize
148
}
0 commit comments