You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2025/06/02 10:04:42 UTC
Re: [PR] Fix last dag run not showing on dag listing [airflow]
pierrejeambrun commented on code in PR #51115:
URL: https://github.com/apache/airflow/pull/51115#discussion_r2120653215
##########
airflow-core/src/airflow/ui/src/pages/DagsList/DagsList.tsx:
##########
@@ -255,19 +255,21 @@ export const DagsList = () => {
</VStack>
<ToggleTableDisplay display={display} setDisplay={setDisplay} />
<Box overflow="auto">
- <DataTable
- cardDef={cardDef}
- columns={columns}
- data={data.dags}
- displayMode={display}
- errorMessage={<ErrorAlert error={error} />}
- initialState={tableURLState}
- isLoading={isLoading}
- modelName="Dag"
- onStateChange={setTableURLState}
- skeletonCount={display === "card" ? 5 : undefined}
- total={data.total_entries}
- />
+ {data !== undefined && (
Review Comment:
done
##########
airflow-core/src/airflow/ui/src/queries/useDags.tsx:
##########
Review Comment:
Yes for the query invalidation
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org