From 45f7255352668b2310f596db5b7a5da654635758 Mon Sep 17 00:00:00 2001 From: PierreDemailly <39910767+PierreDemailly@users.noreply.github.com> Date: Sat, 25 Nov 2023 04:54:04 +0100 Subject: [PATCH] fix(network): missing type conversion (#249) --- workspaces/vis-network/src/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/vis-network/src/network.js b/workspaces/vis-network/src/network.js index fbb25234..e9d1684f 100644 --- a/workspaces/vis-network/src/network.js +++ b/workspaces/vis-network/src/network.js @@ -153,7 +153,7 @@ export default class NodeSecureNetwork { * @yields {number} The next neighbour node */ * searchForNeighbourIds(selectedNode) { - const { name, version } = this.linker.get(selectedNode); + const { name, version } = this.linker.get(Number(selectedNode)); for (const descriptor of Object.values(this.secureDataSet.data.dependencies)) { for (const { id, usedBy } of Object.values(descriptor.versions)) {