From c0ccf21970cf6873678695dc49979c6e1f5365bf Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 7 Feb 2019 18:37:20 +0100 Subject: [PATCH] FIX: hides topic-footer-mobile-dropdown when no content (#6985) --- .../select-kit/components/topic-footer-mobile-dropdown.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdown.js.es6 b/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdown.js.es6 index 96edaa693c1..178caa43b54 100644 --- a/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdown.js.es6 +++ b/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdown.js.es6 @@ -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);