Skip to content

Commit

Permalink
fix: get nmodules from children list
Browse files Browse the repository at this point in the history
  • Loading branch information
nampereira committed Apr 19, 2022
1 parent 6d9b1a3 commit fcc61f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ function displayTree(treeData) {
dispText = d.data.name;
if (d.data.type === 'runtime') {
dispText = 'Runtime: ' + dispText + '<br/>' + 'uuid:' +
d.data.uuid + '<br/>' + 'nmodules:' + d.data.nmodules + '<br/>';
d.data.uuid + '<br/>' + 'nmodules:' + d.data.children.length + '<br/>';
} else if (d.data.type === 'module') {
dispText = 'Runtime: ' + dispText + '<br/>' + 'uuid:' +
d.data.uuid + '<br/>' + 'filename:' + d.data.filename + '<br/>';
Expand Down

0 comments on commit fcc61f6

Please sign in to comment.