Skip to content

Commit db83622

Browse files
authored
ui: fix create network from global create menu (#12677)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent c3d6a8c commit db83622

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)