From 611085d403550303dbf66ec3f9152f772377f1c4 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Mon, 19 Jul 2021 02:58:02 +0200
Subject: org protocol works

---
 app/components/graph/graph.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'app/components/graph/graph.tsx')

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)
-- 
cgit v1.2.3

