mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[Bug] Apply link fixes regardless of fixed state (#3376)
This commit is contained in:
@@ -69,17 +69,17 @@ export function useWorkflowValidation() {
|
|||||||
if (linkValidation.fixed) {
|
if (linkValidation.fixed) {
|
||||||
if (!silent) {
|
if (!silent) {
|
||||||
toastStore.add({
|
toastStore.add({
|
||||||
severity: 'info',
|
severity: 'success',
|
||||||
summary: 'Workflow Links Fixed',
|
summary: 'Workflow Links Fixed',
|
||||||
detail: `Fixed ${linkValidation.patched} node connections and removed ${linkValidation.deleted} invalid links.`
|
detail: `Fixed ${linkValidation.patched} node connections and removed ${linkValidation.deleted} invalid links.`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
validatedData = linkValidation.graph as unknown as ComfyWorkflowJSON
|
validatedData = linkValidation.graph as unknown as ComfyWorkflowJSON
|
||||||
linksFixes = {
|
linksFixes = {
|
||||||
patched: linkValidation.patched,
|
patched: linkValidation.patched,
|
||||||
deleted: linkValidation.deleted
|
deleted: linkValidation.deleted
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user