From 7e24fe8c3840fa49d93af346e128d0e6fc637c81 Mon Sep 17 00:00:00 2001
From: Alvin Noe Ladines <ladinesalvinnoe@gmail.com>
Date: Wed, 19 Feb 2025 10:18:18 +0100
Subject: [PATCH] Resolve link from outputs

---
 gui/src/components/entry/properties/WorkflowCard.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gui/src/components/entry/properties/WorkflowCard.js b/gui/src/components/entry/properties/WorkflowCard.js
index 549fc54858..4af8bfd82b 100644
--- a/gui/src/components/entry/properties/WorkflowCard.js
+++ b/gui/src/components/entry/properties/WorkflowCard.js
@@ -219,6 +219,8 @@ const getLinks = async (source, query) => {
       outputs.push(source.url)
     }
 
+    if (outputs.includes(target.url)) return true
+
     let linked = false
     for (const output of outputs) {
       if (!output) continue
-- 
GitLab