diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-12-29 15:48:46 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-12-29 15:48:46 -0500 |
commit | 20b995442488f321cebad064d2488fdcf4c62899 (patch) | |
tree | 5fa9235cc78cbfab9809ea8eee764557de1bc6fe /webapp/components/admin_console/admin_navbar_dropdown.jsx | |
parent | 5811acca7fb654cfc4d9fa979873774294c7166d (diff) | |
download | chat-20b995442488f321cebad064d2488fdcf4c62899.tar.gz chat-20b995442488f321cebad064d2488fdcf4c62899.tar.bz2 chat-20b995442488f321cebad064d2488fdcf4c62899.zip |
Fix console errors when logging out (#4915)
Diffstat (limited to 'webapp/components/admin_console/admin_navbar_dropdown.jsx')
-rw-r--r-- | webapp/components/admin_console/admin_navbar_dropdown.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/admin_console/admin_navbar_dropdown.jsx b/webapp/components/admin_console/admin_navbar_dropdown.jsx index 07e32e658..d4e144c4f 100644 --- a/webapp/components/admin_console/admin_navbar_dropdown.jsx +++ b/webapp/components/admin_console/admin_navbar_dropdown.jsx @@ -137,7 +137,7 @@ export default class AdminNavbarDropdown extends React.Component { <li> <a href='#' - onClick={GlobalActions.emitUserLoggedOutEvent} + onClick={() => GlobalActions.emitUserLoggedOutEvent()} > <FormattedMessage id='admin.nav.logout' |