From bc5da6dd9d7e1290e3d06abdfc3187bee031b4ce Mon Sep 17 00:00:00 2001 From: anotherchrisberry Date: Fri, 19 May 2017 13:21:19 -0700 Subject: [PATCH] fix(aws): restore $onInit to ingress security group selector --- .../configure/ingressRuleGroupSelector.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scripts/modules/amazon/src/securityGroup/configure/ingressRuleGroupSelector.component.ts b/app/scripts/modules/amazon/src/securityGroup/configure/ingressRuleGroupSelector.component.ts index 5d0566137dc..a64f0dac545 100644 --- a/app/scripts/modules/amazon/src/securityGroup/configure/ingressRuleGroupSelector.component.ts +++ b/app/scripts/modules/amazon/src/securityGroup/configure/ingressRuleGroupSelector.component.ts @@ -73,6 +73,10 @@ class IngressRuleSelectorController implements IComponentController { this.rule.vpcId = undefined; }; + public $onInit(): void { + this.setAvailableSecurityGroups(); + } + public $onDestroy() { this.coordinatesChanged.unsubscribe(); this.allSecurityGroupsUpdated.unsubscribe();