From 25d864c39dddc78eed6b8aa09621965e28fa3b73 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 23 Dec 2019 19:29:43 +0000 Subject: [PATCH] Fix wrong scope binding on openHelp for TopLeftMenu --- src/components/views/context_menus/TopLeftMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/context_menus/TopLeftMenu.js b/src/components/views/context_menus/TopLeftMenu.js index 7a7b124919..08a65e2f21 100644 --- a/src/components/views/context_menus/TopLeftMenu.js +++ b/src/components/views/context_menus/TopLeftMenu.js @@ -128,11 +128,11 @@ export class TopLeftMenu extends React.Component { ; } - openHelp() { + openHelp = () => { this.closeMenu(); const RedesignFeedbackDialog = sdk.getComponent("views.dialogs.RedesignFeedbackDialog"); Modal.createTrackedDialog('Report bugs & give feedback', '', RedesignFeedbackDialog); - } + }; viewHomePage() { dis.dispatch({action: 'view_home_page'});