bbovenzi commented on code in PR #67284:
URL: https://github.com/apache/airflow/pull/67284#discussion_r3290758399


##########
airflow-core/src/airflow/ui/src/pages/DagRuns/BulkDeleteDagRunsButton.tsx:
##########
@@ -143,6 +145,14 @@ const BulkDeleteDagRunsButton = ({ clearSelections, 
selectedDagRuns }: Props) =>
             </Box>
 
             <ErrorAlert error={error} />
+            {actionErrors.length > 0 ? (
+              <Stack gap={2} mt={3}>
+                {actionErrors.map((actionError, index) => (
+                  // eslint-disable-next-line react/no-array-index-key -- 
per-entity errors have no stable id
+                  <Alert key={index} status="error" title={actionError.error} 
/>
+                ))}
+              </Stack>
+            ) : undefined}

Review Comment:
   Let's make an ActionErrors component to reuse all this error logic.



-- 
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]

Reply via email to