mirror of https://github.com/apache/cloudstack.git
UI: Prevent failure when loading network offerings when physical network has a tag (#13503)
Co-authored-by: Pearl Dsilva <pearl1954@gmail.com>
This commit is contained in:
parent
097a57967b
commit
006831daaf
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue