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


##########
airflow-core/src/airflow/ui/src/components/TriggerDag/TriggerDAGModal.tsx:
##########
@@ -139,12 +141,11 @@ const TriggerDAGModal = ({
 
           {runMode === RunMode.SINGLE ? (
             <TriggerDAGForm
-              dagDisplayName={dagDisplayName}
               dagId={dagId}
               error={error}
               hasSchedule={hasSchedule}
               isPartitioned={isPartitioned}
-              isPaused={isPaused}
+              isPaused={dag?.is_paused ?? isPaused}

Review Comment:
   If `isPaused` is no longer the correct source of truth. Let's fix that where 
we create the variable. Let's not change it midway through the prop bubbling. 
This would be very easy to accidentally delete in the future.



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