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

weizhouapache 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 006831daafb UI: Prevent failure when loading network offerings when 
physical network has a tag (#13503)
006831daafb is described below

commit 006831daafbda30ae415a3908f165c56b396db75
Author: Pearl Dsilva <[email protected]>
AuthorDate: Wed Jul 1 04:25:09 2026 -0400

    UI: Prevent failure when loading network offerings when physical network 
has a tag (#13503)
    
    Co-authored-by: Pearl Dsilva <[email protected]>
---
 ui/src/views/network/CreateIsolatedNetworkForm.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/network/CreateIsolatedNetworkForm.vue 
b/ui/src/views/network/CreateIsolatedNetworkForm.vue
index aebc928d371..c2dc6ffd21c 100644
--- a/ui/src/views/network/CreateIsolatedNetworkForm.vue
+++ b/ui/src/views/network/CreateIsolatedNetworkForm.vue
@@ -561,7 +561,7 @@ export default {
       this.networkOfferings = []
       this.selectedNetworkOffering = {}
       getAPI('listNetworkOfferings', params).then(json => {
-        this.networkOfferings = 
json.listnetworkofferingsresponse.networkoffering
+        this.networkOfferings = 
json.listnetworkofferingsresponse.networkoffering || []
         this.networkOfferings = this.networkOfferings.filter(offering => 
offering.fornsx === this.selectedZone.isnsxenabled)
         if (!this.selectedZone.routedmodeenabled) {
           this.networkOfferings = this.networkOfferings.filter(offering => 
offering.networkmode !== 'ROUTED')

Reply via email to