summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-19 02:58:02 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-19 02:58:02 +0200
commit611085d403550303dbf66ec3f9152f772377f1c4 (patch)
tree1042ec4604f20d613748f0a63d497c7bcdccc73e
parentd6022276798fa69c30139cd9e93c5c1f37e0397c (diff)
org protocol works
-rw-r--r--app/components/graph/graph.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/components/graph/graph.tsx b/app/components/graph/graph.tsx
index 366b3b2..9538274 100644
--- a/app/components/graph/graph.tsx
+++ b/app/components/graph/graph.tsx
@@ -257,6 +257,7 @@ onLinkHover={handleLinkHover}
}
const selectClick = (node, event) => {
+ window.open('org-protocol://roam-node?node=' + node.id, '_self');
highlightNodes.clear()
highlightLinks.clear()
console.log(localGraphData)