pierrejeambrun commented on code in PR #64845:
URL: https://github.com/apache/airflow/pull/64845#discussion_r3093492360
##########
airflow-core/src/airflow/ui/src/components/ActionAccordion/ActionAccordion.tsx:
##########
@@ -99,7 +99,7 @@ const ActionAccordion = ({ affectedTasks, groupByRunId =
false, note, setNote }:
<Accordion.ItemTrigger>
<Text fontWeight="bold">
{translate("dags:runAndTaskActions.affectedTasks.title", {
- count: affectedTasks.total_entries,
+ count: affectedTasks.total_entries ?? 0,
Review Comment:
UI is not using the cursor based pagination at this point, only offset
based, so `total_entries` is always defined, it's just for linting that there
is a fallback.
UI will be plug onto the cursor based pagination in
https://github.com/apache/airflow/pull/64953
--
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]