Skip to content

Build your personal knowledge base with Trilium Notes

feat(share): bring back the context menu of a shared note map's notes

Elian Doran3a6624a3d5d4
diff --git a/apps/client/src/widgets/note_map/NoteMap.tsx b/apps/client/src/widgets/note_map/NoteMap.tsx
index ba6236c913..8a46c90d4a 100644
--- a/apps/client/src/widgets/note_map/NoteMap.tsx
+++ b/apps/client/src/widgets/note_map/NoteMap.tsx
@@ -151,7 +151,7 @@ export default function NoteMap({ note, widgetMode, parentRef, defaultRootNoteId
void appContext.triggerEvent("closePopupEditor", {});
})
.onNodeRightClick((node, e) => {
- if (!node.id || onOpenNote) return;
+ if (!node.id) return;
link_context_menu.openContextMenu(node.id, e);
});