ashb commented on a change in pull request #5111: [AIRFLOW-4294] fix missing
dag & task runs in UI when . in dag_id
URL: https://github.com/apache/airflow/pull/5111#discussion_r275881092
##########
File path: airflow/www/templates/airflow/dags.html
##########
@@ -312,7 +312,7 @@ <h2>DAGs</h2>
d3.json("{{ url_for('Airflow.dag_stats') }}", function(error, json) {
for(var dag_id in json) {
states = json[dag_id];
- g = d3.select('svg#dag-run-' + dag_id)
+ g = d3.select('svg#dag-run-' + dag_id.replace(/\./g, '__dot__'))
Review comment:
(Which does exactly this, but on the server is all.)
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services