Skip to content

Commit

Permalink
Update view.js (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Sep 14, 2024
1 parent 0d9daa1 commit d45aa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ view.Node = class extends grapher.Node {
this.id = `node-${value.name ? `name-${value.name}` : `id-${(context.counter++)}`}`;
this._add(value, type);
const inputs = value.inputs;
if (Array.isArray(inputs)) {
if (type !== 'graph' && Array.isArray(inputs)) {
for (const argument of inputs) {
if (!argument.type || argument.type.endsWith('*')) {
if (Array.isArray(argument.value) && argument.value.length === 1 && argument.value[0].initializer) {
Expand Down

0 comments on commit d45aa66

Please sign in to comment.