mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Add null check
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7f496c7bf5
commit
b723092ed2
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ export default class MessageContextMenu extends React.Component {
|
||||||
action: 'forward_event',
|
action: 'forward_event',
|
||||||
event: this.props.mxEvent,
|
event: this.props.mxEvent,
|
||||||
});
|
});
|
||||||
this.props.onCloseDialog();
|
if (this.props.onCloseDialog) this.props.onCloseDialog();
|
||||||
this.closeMenu();
|
this.closeMenu();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue