From ba63b5fa8c1d86f464f5fec9d96097dd98ee26b3 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 7 May 2025 14:11:16 -0400 Subject: [PATCH] Fix link exist check --- src_web/common/link_fixer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_web/common/link_fixer.ts b/src_web/common/link_fixer.ts index 1736ffd..373dbf3 100644 --- a/src_web/common/link_fixer.ts +++ b/src_web/common/link_fixer.ts @@ -501,7 +501,7 @@ class WorkflowLinkFixerGraph extends WorkflowLinkFixer { this.graph.links.delete(id); return true; } - if (!this.graph.links[id] == null) { + if (this.graph.links[id] == null) { return `Link #${id} not found in workflow links.`; } delete this.graph.links[id];