mik-laj commented on a change in pull request #4787: [AIRFLOW-3967] Extract 
Jinja directive from Javascript
URL: https://github.com/apache/airflow/pull/4787#discussion_r278060268
 
 

 ##########
 File path: airflow/www/templates/airflow/dags.html
 ##########
 @@ -357,7 +367,7 @@ <h2>DAGs</h2>
               })
               .on('click', function(d, i) {
                   if (d.count > 0)
-                    window.location = "{{ url_for('DagRunModelView.list') 
}}?_flt_3_dag_id=" + d.dag_id + "&_flt_3_state=" + d.state;
+                    window.location = BASE_URL_DAG_RUN_LIST + 
"?_flt_3_dag_id=" + d.dag_id + "&_flt_3_state=" + d.state;
 
 Review comment:
   I updated a PR. Thanks for suggestion. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to