From cba02a43b79431217aad53fcbffbdb2dc85292fb Mon Sep 17 00:00:00 2001 From: Riz Ashraf Date: Sat, 12 Sep 2026 09:37:19 +0100 Subject: [PATCH] fix(dashboard): fix fatal JS syntax error in setupSSE and snake_case relationType mapping --- server/src/dashboard.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/dashboard.html b/server/src/dashboard.html index 778501d..08e443e 100644 --- a/server/src/dashboard.html +++ b/server/src/dashboard.html @@ -101,7 +101,7 @@ data.relations.forEach(r => { if (nodeIds.has(r.from) && nodeIds.has(r.to)) { - edges.push({ from: r.from, to: r.to, label: r.relation_type, arrows: 'to' }); + edges.push({ from: r.from, to: r.to, label: r.relationType, arrows: 'to' }); } }); @@ -186,7 +186,7 @@ div.innerText = `[${time}] ${event.data}`; feed.appendChild(div); feed.scrollTop = feed.scrollHeight; - }; + }); } // Start @@ -203,3 +203,4 @@ +