Bug fixes

This commit is contained in:
Westly Wright 2016-03-03 14:59:16 -07:00
parent 3cfbe97217
commit 12c5895b96
3 changed files with 5 additions and 3 deletions

View File

@ -51,7 +51,8 @@ export default Ember.Component.extend({
this.set('saving', true);
this.get('settings').setProperties(propsOut).one('settingsPromisesResolved', () => {
this.get('settings').setProperties(propsOut);
this.get('settings').one('settingsPromisesResolved', () => {
this.set('saving', false);
this.set('errors', null);
});

View File

@ -9,7 +9,7 @@
<div class="r-mt10">
<label>{{radio-button selection=customRadio value="yes"}}&nbsp;Something else:&nbsp;&nbsp;</label>
{{input type="text" class="form-control" value=customValue placeholder="e.g. {{if settings.isPrivateLabel 'domain.com' 'rancher.mydomain.com'}}" safeStyle="width: calc(100% - 150px); display: inline-block; min-width: 300px;"}}
{{input type="text" class="form-control" value=customValue placeholder="e.g. http://example.com:8080" safeStyle="width: calc(100% - 150px); display: inline-block; min-width: 300px;"}}
<h6 style="margin-top: 10px;">
Don't include <code>/v1</code> or any other path, but if you are doing
{{#if settings.isPrivateLabel}}

View File

@ -17,7 +17,8 @@ export default Ember.Component.extend({
this.set('saving', true);
this.get('settings').setProperties(propsOut).one('settingsPromisesResolved', () => {
this.get('settings').setProperties(propsOut);
this.get('settings').one('settingsPromisesResolved', () => {
this.set('saving', false);
this.set('errors', null);
});