From 7fb58478bf9199d5b4844a4181ea532a6053e3fc Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Thu, 18 Jun 2026 20:36:33 -0400 Subject: [PATCH] fix(kanban): correct parent/child inversion in dependency removal (#3797) --- static/panels.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/static/panels.js b/static/panels.js index 731254b6..f160ac42 100644 --- a/static/panels.js +++ b/static/panels.js @@ -2348,12 +2348,16 @@ function _kanbanLinksHtml(links){ const parents = (links && links.parents) || []; const children = (links && links.children) || []; const taskId = _kanbanCurrentTaskId; - const item = (id) => `${esc(id)} `; + const item = (id, isParent) => { + const parentId = isParent ? id : taskId; + const childId = isParent ? taskId : id; + return `${esc(id)} `; + }; const hasLinks = parents.length || children.length; return `