Skip to content

Commit 30e916d

Browse files
committed
Fix UI condition for PF rule creation
1 parent 6d33ef1 commit 30e916d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/network/PortForwarding.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ export default {
642642
if (this.loading) return
643643
this.loading = true
644644
this.addVmModalVisible = false
645-
const networkId = ('vpcid' in this.resource && (!('associatednetworkid' in this.resource || this.vpcConserveMode))) ? this.selectedTier : this.resource.associatednetworkid
645+
const networkId = ('vpcid' in this.resource && (!('associatednetworkid' in this.resource) || this.vpcConserveMode)) ? this.selectedTier : this.resource.associatednetworkid
646646
postAPI('createPortForwardingRule', {
647647
...this.newRule,
648648
ipaddressid: this.resource.id,

0 commit comments

Comments
 (0)