uranusjr commented on code in PR #25729:
URL: https://github.com/apache/airflow/pull/25729#discussion_r947352610


##########
airflow/www/templates/airflow/dag.html:
##########
@@ -204,7 +204,12 @@ <h4 class="pull-right" style="user-select: 
none;-moz-user-select: auto;">
                   <input type="hidden" name="csrf_token" value="{{ 
csrf_token() }}">
                   <input type="hidden" name="dag_id" value="{{ dag.dag_id }}">
                   <input type="hidden" name="unpause" value="True">
-                  <input type="hidden" name="origin" value="{{ 
url_for(request.endpoint, dag_id=dag.dag_id) }}">
+                  <!-- for task instance detail pages, dag_id is still a query 
param -->
+                  {% if request.args.get('dag_id') is not none %}

Review Comment:
   Not sure if this works…
   
   ```suggestion
                     {% if 'dag_id' in request.args %}
   ```



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