mirror of https://github.com/apache/cloudstack.git
List only untagged offerings for Shared networks when tag isn't passed (#10320)
This commit is contained in:
parent
3337f425ff
commit
a1117acbdf
|
|
@ -791,6 +791,10 @@ export default {
|
|||
if (this.scopeType === 'domain') {
|
||||
params.domainid = this.selectedDomain.id
|
||||
}
|
||||
console.log(params?.tags?.length === 0)
|
||||
if (!params?.tags || params.tags.length === 0) {
|
||||
params.istagged = false
|
||||
}
|
||||
this.handleNetworkOfferingChange(null)
|
||||
this.networkOfferings = []
|
||||
api('listNetworkOfferings', params).then(json => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue