Merge pull request #3775 from matrix-org/t3chguy/fix_TopLeftMenu_help

Fix wrong scope binding on openHelp for TopLeftMenu
This commit is contained in:
Michael Telatynski 2019-12-23 19:40:02 +00:00 committed by GitHub
commit 8c70eda517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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