Fix wrong scope binding on openHelp for TopLeftMenu
This commit is contained in:
parent
23b9b98f7b
commit
25d864c39d
1 changed files with 2 additions and 2 deletions
|
@ -128,11 +128,11 @@ export class TopLeftMenu extends React.Component {
|
||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
openHelp() {
|
openHelp = () => {
|
||||||
this.closeMenu();
|
this.closeMenu();
|
||||||
const RedesignFeedbackDialog = sdk.getComponent("views.dialogs.RedesignFeedbackDialog");
|
const RedesignFeedbackDialog = sdk.getComponent("views.dialogs.RedesignFeedbackDialog");
|
||||||
Modal.createTrackedDialog('Report bugs & give feedback', '', RedesignFeedbackDialog);
|
Modal.createTrackedDialog('Report bugs & give feedback', '', RedesignFeedbackDialog);
|
||||||
}
|
};
|
||||||
|
|
||||||
viewHomePage() {
|
viewHomePage() {
|
||||||
dis.dispatch({action: 'view_home_page'});
|
dis.dispatch({action: 'view_home_page'});
|
||||||
|
|
Loading…
Reference in a new issue