Revert "FIX: various select-kit corrections on mobile"

This reverts commit 78a2324c89b1865d34ec201457ef184ce723476a.
This commit is contained in:
Joffrey JAFFEUX
2018-07-20 15:28:12 -04:00
parent 1e37395517
commit 5e521f8ce6
5 changed files with 26 additions and 13 deletions

View File

@ -92,6 +92,17 @@ export default Ember.Component.extend(
this.set("computedContent", []);
this.set("highlightedSelection", []);
if (this.site && this.site.isMobileDevice) {
this.setProperties({
filterable: isNone(this.get("filterable"))
? false
: this.get("filterable"),
autoFilterable: isNone(this.get("autoFilterable"))
? false
: this.get("filterable")
});
}
if (this.get("nameChanges")) {
this.addObserver(
`content.@each.${this.get("nameProperty")}`,