fix service alias issue

This commit is contained in:
loganhz 2017-06-05 17:57:52 +08:00
parent 4f40ab97e2
commit 9489b20d5b
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
{{#if (eq mode "dnsservice")}}
{{form-targets
isBalancer=false
existing=existing
existing=record
exclude=service.id
changed=(action "setTargetServices")
}}

View File

@ -35,7 +35,7 @@ export default Ember.Component.extend({
var out = [];
var existing = this.get('existing');
if ( existing )
if ( existing && existing.get('linkedServices'))
{
let links = existing.get('linkedServices');
Object.keys(links).forEach((key) => {