mirror of https://github.com/rancher/ui.git
Fix clone srvc->cont
This commit is contained in:
parent
2e5fd911ff
commit
cbbbb38a09
|
|
@ -68,10 +68,7 @@ export default Ember.Component.extend(ManageLabels, {
|
|||
}
|
||||
|
||||
if ( mode === 'container') {
|
||||
this.setProperties({
|
||||
isServices: false,
|
||||
initialScale: 1,
|
||||
});
|
||||
this.set('isService', false);
|
||||
} else {
|
||||
if (this.get('_previousService')) {
|
||||
this.setProperties({
|
||||
|
|
|
|||
|
|
@ -272,7 +272,6 @@ export default Ember.Component.extend(NewOrEdit, {
|
|||
let lc = this.get('launchConfig').serialize();
|
||||
lc.type = 'container';
|
||||
pr = this.get('store').createRecord(lc);
|
||||
pr.set('count', this.get('scale'));
|
||||
nameResource = pr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue