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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]