Skip to content

Commit 6c0712e

Browse files
committed
Fix test
1 parent 6499cfb commit 6c0712e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lib/litegraph/src/LGraphNode.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -847,10 +847,8 @@ export class LGraphNode
847847
if (info.widgets_values) {
848848
const widgetsWithValue = this.widgets
849849
.values()
850-
.filter(
851-
(w, idx) =>
852-
w.serialize !== false && idx < info.widgets_values!.length
853-
)
850+
.filter((w) => w.serialize !== false)
851+
.filter((_w, idx) => idx < info.widgets_values!.length)
854852
widgetsWithValue.forEach(
855853
(widget, i) => (widget.value = info.widgets_values![i])
856854
)

0 commit comments

Comments
 (0)