jedcunningham commented on code in PR #44855:
URL: https://github.com/apache/airflow/pull/44855#discussion_r1881353192


##########
airflow/ui/src/pages/DagsList/DagsList.tsx:
##########
@@ -254,7 +260,11 @@ export const DagsList = () => {
         <DataTable
           cardDef={cardDef}
           columns={columns}
-          data={data.dags}
+          // We need to rename latest_dag_runs so that react-table can handle 
the sort correctly
+          data={data.dags.map((dag) => ({
+            ...dag,
+            last_run_start_date: dag.latest_dag_runs,

Review Comment:
   This feels wrong? Isn't `latest_dag_runs` an array?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to