shubhamraj-git commented on code in PR #44850:
URL: https://github.com/apache/airflow/pull/44850#discussion_r1883287382
##########
airflow/ui/src/components/TriggerDag/TriggerDAGTextButton.tsx:
##########
@@ -38,13 +38,15 @@ const TriggerDAGIconButton: React.FC<Props> = ({ dag }) => {
Trigger
</Button>
- <TriggerDAGModal
- dagDisplayName={dag.dag_display_name}
- dagId={dag.dag_id}
- isPaused={dag.is_paused}
- onClose={onClose}
- open={open}
- />
+ {open ? (
Review Comment:
TriggerDAGModal have a dag details api call, which will be even called when
the button is not clicked, by wrapping it I am not rendering until opened, not
wrapping it will have ,multiple calls when on dag list page.
--
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]