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 `