Skip to content

Commit bea0944

Browse files
authored
Fixes issue with change tracker displaying node id instead of upci/group (#19)
1 parent cd0165e commit bea0944

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Visualiser/wwwroot/js/network.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ function reassignNode(node, toClusterId) {
460460
let edges = dataset.edges.get({ filter: (edge) => edge.from === node.id || edge.to === node.id });
461461
edges.forEach(edge => dataset.edges.remove(edge.id));
462462

463-
const fromClusterId = node.id;
463+
const fromClusterId = node.group;
464464

465465
// Destroy target cluster
466466
if (isCluster(toClusterId)) {

0 commit comments

Comments
 (0)