pierrejeambrun commented on code in PR #53064:
URL: https://github.com/apache/airflow/pull/53064#discussion_r2219414614
##########
airflow-core/src/airflow/ui/src/components/DagActions/DeleteDagButton.tsx:
##########
@@ -42,17 +42,18 @@ const DeleteDagButton = ({ dagDisplayName, dagId, withText
= true }: DeleteDagBu
navigate("/dags");
},
});
+ const { width } = rest;
return (
- <>
+ <Box {...(Boolean(width) ? { width } : {})}>
Review Comment:
That's probably not great because `Boolean(0)` will not set width (that's a
edge case but pushing a small fix still)
--
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]