Fix wrong scope binding on openHelp for TopLeftMenu

pull/21833/head
Michael Telatynski 2019-12-23 19:29:43 +00:00
parent 23b9b98f7b
commit 25d864c39d
1 changed files with 2 additions and 2 deletions

View File

@ -128,11 +128,11 @@ export class TopLeftMenu extends React.Component {
</div>;
}
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'});