This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.22 by this push:
     new db836229564 ui: fix create network from global create menu (#12677)
db836229564 is described below

commit db836229564f3a86f39d9d0d0d44530526bf3d92
Author: Abhishek Kumar <[email protected]>
AuthorDate: Mon Mar 9 18:56:19 2026 +0530

    ui: fix create network from global create menu (#12677)
    
    Signed-off-by: Abhishek Kumar <[email protected]>
---
 ui/src/views/network/CreateNetwork.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/network/CreateNetwork.vue 
b/ui/src/views/network/CreateNetwork.vue
index 05fd7cbd5a6..46ed9d2e039 100644
--- a/ui/src/views/network/CreateNetwork.vue
+++ b/ui/src/views/network/CreateNetwork.vue
@@ -106,7 +106,7 @@ export default {
     fetchActionZoneData () {
       this.loading = true
       const params = {}
-      if (this.resource.zoneid && (this.$route.name === 'deployVirtualMachine' 
|| this.$route.path.startsWith('/backup'))) {
+      if (this.resource?.zoneid && (this.$route.name === 
'deployVirtualMachine' || this.$route.path.startsWith('/backup'))) {
         params.id = this.resource.zoneid
       }
       this.actionZoneLoading = true

Reply via email to