fix issue with user labels in collapse

This commit is contained in:
Westly Wright 2017-05-24 09:47:56 -07:00
parent 2acd46391c
commit 340fd29651
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export default Ember.Component.extend(ManageLabels, {
this.$('INPUT.key').last()[0].focus(); this.$('INPUT.key').last()[0].focus();
}); });
} },
}, },
didReceiveAttrs() { didReceiveAttrs() {
@ -31,6 +31,7 @@ export default Ember.Component.extend(ManageLabels, {
} }
}, },
init() { init() {
this._super(...arguments); this._super(...arguments);

View File

@ -7,7 +7,7 @@
<label>{{t 'hostPartial.host.addOptions.labels'}}</label> <label>{{t 'hostPartial.host.addOptions.labels'}}</label>
</div> </div>
<div class="col span-10"> <div class="col span-10">
{{form-user-labels initialLabels=model.labels setLabels=(action 'setLabels')}} {{form-user-labels initialLabels=model.labels setLabels=(action 'setLabels') expandAll=null}}
</div> </div>
</div> </div>