You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/25 20:53:28 UTC
[GitHub] [airflow] bbovenzi commented on a change in pull request #19211: Fix Toggle Wrap on DAG code page
bbovenzi commented on a change in pull request #19211:
URL: https://github.com/apache/airflow/pull/19211#discussion_r735959527
##########
File path: airflow/www/static/js/dag_code.js
##########
@@ -17,13 +17,10 @@
* under the License.
*/
-/* global $ */
+/* global window, $ */
-import getMetaValue from './meta_value';
-
-const isWrapped = getMetaValue('wrapped');
Review comment:
Let's also get rid of
```
{% block head_meta %}
{{ super() }}
<meta name="wrapped" content="{{ wrapped }}">
{% endblock %}
```
in `dag_code.html` since we're not using it at all anymore.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org