Fix issue with saving catalog and vm options when not needed

This commit is contained in:
Westly Wright 2015-12-17 12:12:00 -07:00
parent 7d87df2735
commit 6c0b9d5c6c
2 changed files with 22 additions and 16 deletions

View File

@ -35,6 +35,11 @@ export default Ember.Controller.extend({
return;
}
if (this.get('backToAdd')) {
propsOut[C.SETTING.API_HOST] = model.host;
} else {
Object.keys(model).forEach((item) => {
switch (item) {
case 'host':
@ -50,6 +55,7 @@ export default Ember.Controller.extend({
break;
}
});
}
this.set('saving', true);
this.get('settings').setProperties(propsOut).one('settingsPromisesResolved', () => {

View File

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.74.0",
"version": "0.75.0",
"private": true,
"directories": {
"doc": "doc",