[FIX] Caret not showing in topic-footer-mobile-dropdown

This commit is contained in:
Joffrey JAFFEUX 2017-10-20 06:41:00 -07:00 committed by GitHub
parent fd7af2e146
commit 21af7d7755
2 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,7 @@ export default SelectBoxKitComponent.extend({
clearable: false,
@on("didReceiveAttrs")
_setComponentOptions() {
_setComboBoxOptions() {
this.set("headerComponentOptions", Ember.Object.create({
caretUpIcon: this.get("caretUpIcon"),
caretDownIcon: this.get("caretDownIcon"),

View File

@ -9,10 +9,9 @@ export default ComboBoxComponent.extend({
autoFilterable: false,
@on("didReceiveAttrs")
_setComponentOptions() {
this.set("headerComponentOptions", Ember.Object.create({
selectedName: I18n.t(this.get("headerText"))
}));
_setTopicFooterMobileDropdownOptions() {
this.get("headerComponentOptions")
.set("selectedName", I18n.t(this.get("headerText")));
},
@computed("topic", "topic.details", "value")