Fix wrong scope binding on openHelp for TopLeftMenu

This commit is contained in:
Michael Telatynski 2019-12-23 19:29:43 +00:00
parent 23b9b98f7b
commit 25d864c39d

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'});