mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 08:30:08 +00:00
fix: use getTitle() for node title resolution in getNodeRefsByTitle
Amp-Thread-ID: https://ampcode.com/threads/T-019c17a0-1d8c-746f-8ee0-0145b7f56561
This commit is contained in:
@@ -1609,7 +1609,7 @@ export class ComfyPage {
|
|||||||
(
|
(
|
||||||
await this.page.evaluate((title) => {
|
await this.page.evaluate((title) => {
|
||||||
return window['app'].graph.nodes
|
return window['app'].graph.nodes
|
||||||
.filter((n: LGraphNode) => n.title === title)
|
.filter((n: LGraphNode) => n.getTitle() === title)
|
||||||
.map((n: LGraphNode) => n.id)
|
.map((n: LGraphNode) => n.id)
|
||||||
}, title)
|
}, title)
|
||||||
).map((id: NodeId) => this.getNodeRefById(id))
|
).map((id: NodeId) => this.getNodeRefById(id))
|
||||||
|
|||||||
Reference in New Issue
Block a user