mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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') {
|
if (this.scopeType === 'domain') {
|
||||||
params.domainid = this.selectedDomain.id
|
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.handleNetworkOfferingChange(null)
|
||||||
this.networkOfferings = []
|
this.networkOfferings = []
|
||||||
api('listNetworkOfferings', params).then(json => {
|
api('listNetworkOfferings', params).then(json => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user