diff --git a/app/models/loadbalancerservice.js b/app/models/loadbalancerservice.js index 4350e4cec..f5c1377a5 100644 --- a/app/models/loadbalancerservice.js +++ b/app/models/loadbalancerservice.js @@ -47,7 +47,7 @@ var LoadBalancerService = Service.extend({ }, sslPorts: function() { - let out = this.get('lbConfig.portRules').filterBy('isTls',true).map((x) => x.get('sourcePort')).uniq(); + let out = (this.get('lbConfig.portRules')||[]).filterBy('isTls',true).map((x) => x.get('sourcePort')).uniq(); return out; }.property(`lbConfig.portRules.@each.{isTls,sourcePort}`),