mirror of https://github.com/apache/cloudstack.git
Fix UI condition for PF rule creation
This commit is contained in:
parent
6d33ef1221
commit
30e916db28
|
|
@ -642,7 +642,7 @@ export default {
|
|||
if (this.loading) return
|
||||
this.loading = true
|
||||
this.addVmModalVisible = false
|
||||
const networkId = ('vpcid' in this.resource && (!('associatednetworkid' in this.resource || this.vpcConserveMode))) ? this.selectedTier : this.resource.associatednetworkid
|
||||
const networkId = ('vpcid' in this.resource && (!('associatednetworkid' in this.resource) || this.vpcConserveMode)) ? this.selectedTier : this.resource.associatednetworkid
|
||||
postAPI('createPortForwardingRule', {
|
||||
...this.newRule,
|
||||
ipaddressid: this.resource.id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue