mirror of
https://github.com/flarum/core.git
synced 2025-01-18 06:38:25 +01:00
Fix logout action
This commit is contained in:
parent
c99ee1c5d5
commit
82b1107db6
@ -17,7 +17,7 @@ export default DropdownButton.extend(HasItemLists, {
|
||||
this.addActionItem(items, 'settings', 'Settings', 'cog');
|
||||
this.addSeparatorItem(items);
|
||||
this.addActionItem(items, 'logout', 'Log Out', 'sign-out', null, function() {
|
||||
self.sendAction('logout');
|
||||
self.get('logout')();
|
||||
});
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user