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') {
|
if ( mode === 'container') {
|
||||||
this.setProperties({
|
this.set('isService', false);
|
||||||
isServices: false,
|
|
||||||
initialScale: 1,
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
if (this.get('_previousService')) {
|
if (this.get('_previousService')) {
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,6 @@ export default Ember.Component.extend(NewOrEdit, {
|
||||||
let lc = this.get('launchConfig').serialize();
|
let lc = this.get('launchConfig').serialize();
|
||||||
lc.type = 'container';
|
lc.type = 'container';
|
||||||
pr = this.get('store').createRecord(lc);
|
pr = this.get('store').createRecord(lc);
|
||||||
pr.set('count', this.get('scale'));
|
|
||||||
nameResource = pr;
|
nameResource = pr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue