Skip to content

Commit e970dd9

Browse files
committed
ui: fix create network from global create menu
Currently create network form fails to load when Create Network selected from global header. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 5caf6cd commit e970dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/network/CreateNetwork.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default {
106106
fetchActionZoneData () {
107107
this.loading = true
108108
const params = {}
109-
if (this.resource.zoneid && (this.$route.name === 'deployVirtualMachine' || this.$route.path.startsWith('/backup'))) {
109+
if (this.resource?.zoneid && (this.$route.name === 'deployVirtualMachine' || this.$route.path.startsWith('/backup'))) {
110110
params.id = this.resource.zoneid
111111
}
112112
this.actionZoneLoading = true

0 commit comments

Comments
 (0)