diff --git a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 index 6f988b310f8..cbc6caf7978 100644 --- a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 +++ b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 @@ -388,11 +388,6 @@ export default Em.Component.extend({ return (this.get('isExpanded')) ? "fa-caret-down" : "fa-caret-right"; }.property('isExpanded'), - @computed('isExpanded') - isCollapsed(isExpanded){ - return !isExpanded; - }, - actions: { expandOptions() { this.set('isExpanded', !this.get('isExpanded')); diff --git a/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs b/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs index 624a60f0e0d..8d0356ac73b 100644 --- a/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs +++ b/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs @@ -1,7 +1,7 @@

{{i18n "search.advanced.title"}}

-{{#unless isCollapsed}} +{{#if isExpanded}}
@@ -18,7 +18,7 @@
- + --> {{#if siteSettings.tagging_enabled}}
@@ -77,4 +77,4 @@
-{{/unless}} +{{/if}}