mirror of https://github.com/rancher/ui.git
fix service alias issue
This commit is contained in:
parent
4f40ab97e2
commit
9489b20d5b
|
|
@ -50,7 +50,7 @@
|
|||
{{#if (eq mode "dnsservice")}}
|
||||
{{form-targets
|
||||
isBalancer=false
|
||||
existing=existing
|
||||
existing=record
|
||||
exclude=service.id
|
||||
changed=(action "setTargetServices")
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue