Jasperora commented on code in PR #53064:
URL: https://github.com/apache/airflow/pull/53064#discussion_r2196760920


##########
airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -77,6 +78,9 @@ export const DetailsLayout = ({ children, error, isLoading, 
tabs }: Props) => {
         <Flex gap={1}>
           <SearchDagsButton />
           {dag === undefined ? undefined : <TriggerDAGButton dag={dag} />}
+          {dag === undefined ? undefined : (
+            <DeleteDagButton dagDisplayName={dag.dag_display_name} 
dagId={dag.dag_id} />
+          )}

Review Comment:
   Thanks for the suggestion! I think this would be better.
   Please watch the demo below to see if it is ok.
   
   
https://github.com/user-attachments/assets/0b717bd1-87d0-4ed2-9fb2-c653e6463750
   
   
   However, the two buttons in the menu has different width, which might be a 
problem.
   Would you recommend creating a new CSS file to solve it?



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