Remove unused component

This commit is contained in:
Robin Ward 2016-04-25 17:30:36 -04:00
parent 208cf41e6c
commit 7ab5d44c7c
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D
1 changed files with 0 additions and 27 deletions

View File

@ -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');
}
}
});