Skip to content

Commit

Permalink
fix wrong link to the source DAG in consumer DAG's dataset event sect…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W authored Aug 8, 2024
1 parent 25342fa commit 49669c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airflow/www/static/js/components/SourceTaskInstance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type SourceTIProps = {
};

const gridUrl = getMetaValue("grid_url");
const dagId = getMetaValue("dag_id") || "__DAG_ID__";

const SourceTaskInstance = ({
datasetEvent,
Expand All @@ -56,7 +57,7 @@ const SourceTaskInstance = ({
});

let url = `${gridUrl?.replace(
"__DAG_ID__",
dagId,
sourceDagId || ""
)}?dag_run_id=${encodeURIComponent(
sourceRunId || ""
Expand Down

0 comments on commit 49669c9

Please sign in to comment.