mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #3775 from matrix-org/t3chguy/fix_TopLeftMenu_help
Fix wrong scope binding on openHelp for TopLeftMenu
This commit is contained in:
commit
8c70eda517
1 changed files with 2 additions and 2 deletions
|
@ -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'});
|
||||
|
|
Loading…
Reference in a new issue