mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
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
@ -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…
x
Reference in New Issue
Block a user