Skip to content

Commit

Permalink
fix(network): missing type conversion (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreDemailly authored Nov 25, 2023
1 parent a548e17 commit 45f7255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/vis-network/src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 45f7255

Please sign in to comment.