You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2025/02/28 14:32:28 UTC
(airflow) branch main updated: AIP-38 Fix graph mapped task instance link (#47215)
This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 4e258927642 AIP-38 Fix graph mapped task instance link (#47215)
4e258927642 is described below
commit 4e258927642fad42163edaafa1498d6145ab525a
Author: Pierre Jeambrun <pi...@gmail.com>
AuthorDate: Fri Feb 28 15:32:21 2025 +0100
AIP-38 Fix graph mapped task instance link (#47215)
---
airflow/ui/src/layouts/Details/Graph/TaskLink.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/ui/src/layouts/Details/Graph/TaskLink.tsx b/airflow/ui/src/layouts/Details/Graph/TaskLink.tsx
index e933329b029..685e79737ec 100644
--- a/airflow/ui/src/layouts/Details/Graph/TaskLink.tsx
+++ b/airflow/ui/src/layouts/Details/Graph/TaskLink.tsx
@@ -39,7 +39,7 @@ export const TaskLink = ({ id, isGroup, isMapped, ...rest }: Props) => {
<RouterLink
to={{
// Do not include runId if there is no selected run, clicking a second time will deselect a task id
- pathname: `/dags/${dagId}/${runId === undefined ? "" : `runs/${runId}/`}${taskId === id ? "" : `tasks/${id}`}${isMapped ? "/mapped" : ""}`,
+ pathname: `/dags/${dagId}/${runId === undefined ? "" : `runs/${runId}/`}${taskId === id ? "" : `tasks/${id}`}${isMapped && taskId !== id && runId !== undefined ? "/mapped" : ""}`,
search: searchParams.toString(),
}}
>