FIX: hides topic-footer-mobile-dropdown when no content (#6985)

This commit is contained in:
Joffrey JAFFEUX 2019-02-07 18:37:20 +01:00 committed by GitHub
parent 0e8dbbd8e4
commit c0ccf21970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ export default ComboBoxComponent.extend({
allowInitialValueMutation: false,
allowAutoSelectFirst: false,
nameProperty: "label",
isHidden: Ember.computed.empty("content"),
computeHeaderContent() {
const content = this._super(...arguments);