Skip to content

Commit f35f3f6

Browse files
authored
UI: create network form constantly tries to list domains - which is not permitted for normal users (#9348)
1 parent b080215 commit f35f3f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/views/network/CreateIsolatedNetworkForm.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@ export default {
449449
})
450450
},
451451
fetchData () {
452-
this.fetchDomainData()
452+
if (this.isAdminOrDomainAdmin()) {
453+
this.fetchDomainData()
454+
}
453455
this.fetchZoneData()
454456
this.allowSettingMTU()
455457
},

0 commit comments

Comments
 (0)