fix(dashboard): fix fatal JS syntax error in setupSSE and snake_case relationType mapping
This commit is contained in:
1 parent
44800d4ef2
commit
cba02a43b7
1 file changed
+3
-2
@@ -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 @@
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user