pierrejeambrun commented on code in PR #25731:
URL: https://github.com/apache/airflow/pull/25731#discussion_r946223008


##########
airflow/www/templates/airflow/grid.html:
##########
@@ -42,6 +42,7 @@
     const stateColors = {{ state_color_mapping|tojson }};
     const autoRefreshInterval = {{ auto_refresh_interval }};
     const defaultDagRunDisplayNumber = {{ default_dag_run_display_number }};
+    const defaultWrap = {{ default_wrap|tojson }};

Review Comment:
   I could replace this with something more explicit: (but still not ideal, I 
find the string quotes confusing)
   ```
       const defaultWrap = {{ 'true' if default_wrap else 'false' }};
   ```



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