You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/04/13 21:56:20 UTC
[airflow] 01/01: Base run details header on interval start
This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch fix-grid-run-details-header
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 1e85058dd65f3cfe11364ebe92a7faf8767db043
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Wed Apr 13 17:55:46 2022 -0400
Base run details header on interval start
Backup on executionDate for dags that don't have a data interval (ie: from a migration)
---
airflow/www/static/js/tree/details/Header.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/static/js/tree/details/Header.jsx b/airflow/www/static/js/tree/details/Header.jsx
index 1e6f7c357f..14187f199e 100644
--- a/airflow/www/static/js/tree/details/Header.jsx
+++ b/airflow/www/static/js/tree/details/Header.jsx
@@ -50,7 +50,7 @@ const Header = () => {
let runLabel;
if (dagRun) {
if (runId.includes('manual__') || runId.includes('scheduled__') || runId.includes('backfill__')) {
- runLabel = (<Time dateTime={dagRun.dataIntervalEnd} />);
+ runLabel = (<Time dateTime={dagRun.dataIntervalStart || dagRun.executionDate} />);
} else {
runLabel = runId;
}