Show developer jump to event button on all events with associations (#28351)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
00d46f1c8f
commit
b1ef099cd6
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ export default class MessageContextMenu extends React.Component<IProps, IState>
|
||||||
}
|
}
|
||||||
|
|
||||||
let jumpToRelatedEventButton: JSX.Element | undefined;
|
let jumpToRelatedEventButton: JSX.Element | undefined;
|
||||||
const relatedEventId = mxEvent.relationEventId;
|
const relatedEventId = mxEvent.getAssociatedId();
|
||||||
if (relatedEventId && SettingsStore.getValue("developerMode")) {
|
if (relatedEventId && SettingsStore.getValue("developerMode")) {
|
||||||
jumpToRelatedEventButton = (
|
jumpToRelatedEventButton = (
|
||||||
<IconizedContextMenuOption
|
<IconizedContextMenuOption
|
||||||
|
|
Loading…
Reference in a new issue