aritra24 commented on code in PR #49236:
URL: https://github.com/apache/airflow/pull/49236#discussion_r2042684417


##########
airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -90,7 +97,28 @@ export const DetailsLayout = ({ children, error, isLoading, 
tabs }: Props) => {
           <Panel defaultSize={dagView === "graph" ? 30 : 80} minSize={20}>
             <Box display="flex" flexDirection="column" h="100%">
               {children}
-              <ErrorAlert error={error} />
+              {Boolean(error) || (warningData?.dag_warnings.length ?? 0) > 0 ? 
(
+                <>
+                  <ActionButton
+                    actionName="Trigger Dag"

Review Comment:
   Oops, missed that while copying the action butty😅



##########
airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -90,7 +97,28 @@ export const DetailsLayout = ({ children, error, isLoading, 
tabs }: Props) => {
           <Panel defaultSize={dagView === "graph" ? 30 : 80} minSize={20}>
             <Box display="flex" flexDirection="column" h="100%">
               {children}
-              <ErrorAlert error={error} />
+              {Boolean(error) || (warningData?.dag_warnings.length ?? 0) > 0 ? 
(
+                <>
+                  <ActionButton
+                    actionName="Trigger Dag"

Review Comment:
   Oops, missed that while copying the action button😅



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