mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Fix user dropdown links
This commit is contained in:
@@ -90,7 +90,7 @@ export default Ember.View.extend(HasItemLists, {
|
||||
if (this.get('controller.session.isAuthenticated')) {
|
||||
items.pushObjectWithTag(UserDropdown.extend({
|
||||
user: this.get('controller.session.user'),
|
||||
logout: function() { controller.send('invalidateSession'); }
|
||||
parentController: controller
|
||||
}), 'user');
|
||||
} else {
|
||||
this.addActionItem(items, 'signup', 'Sign Up').reopen({className: 'btn btn-link'});
|
||||
|
Reference in New Issue
Block a user