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