diff --git a/app/assets/javascripts/discourse/components/header-dropdown.js.es6 b/app/assets/javascripts/discourse/components/header-dropdown.js.es6 deleted file mode 100644 index af00290db8f..00000000000 --- a/app/assets/javascripts/discourse/components/header-dropdown.js.es6 +++ /dev/null @@ -1,27 +0,0 @@ -export default Ember.Component.extend({ - tagName: 'li', - classNameBindings: [':header-dropdown-toggle', 'active'], - - active: Ember.computed.alias('toggleVisible'), - - actions: { - toggle() { - - if (this.siteSettings.login_required && !this.currentUser) { - this.sendAction('loginAction'); - } else { - if (this.site.mobileView && this.get('mobileAction')) { - this.sendAction('mobileAction'); - return; - } - - if (this.get('action')) { - this.sendAction('action'); - } else { - this.toggleProperty('toggleVisible'); - } - } - this.appEvents.trigger('dropdowns:closeAll'); - } - } -});