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

Fix wrong scope binding on openHelp for TopLeftMenu
pull/21833/head
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
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'});