mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 09:00:05 +00:00
Add reroute migration toast (#3286)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -20,7 +20,9 @@ type LinkExtension = {
|
||||
/**
|
||||
* Identifies all legacy Reroute nodes in a workflow
|
||||
*/
|
||||
function findLegacyRerouteNodes(workflow: WorkflowJSON04): RerouteNode[] {
|
||||
export function findLegacyRerouteNodes(
|
||||
workflow: WorkflowJSON04
|
||||
): RerouteNode[] {
|
||||
return workflow.nodes.filter(
|
||||
(node) => node.type === 'Reroute'
|
||||
) as RerouteNode[]
|
||||
|
||||
Reference in New Issue
Block a user