"test/vscode:/vscode.git/clone" did not exist on "08b8c0c3cd636e1e73bba5e667a6aa90df804546"
Commit 45a3df1c authored by comfyanonymous's avatar comfyanonymous
Browse files

Merge branch 'filter-widgets-crash-fix' of https://github.com/Jantolick/ComfyUI

parents ecb80abb 88410ace
......@@ -25,7 +25,7 @@ const ext = {
requestAnimationFrame(() => {
const currentNode = LGraphCanvas.active_canvas.current_node;
const clickedComboValue = currentNode.widgets
.filter(w => w.type === "combo" && w.options.values.length === values.length)
?.filter(w => w.type === "combo" && w.options.values.length === values.length)
.find(w => w.options.values.every((v, i) => v === values[i]))
?.value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment