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_r261340710
##########
File path: airflow/www/templates/airflow/ti_log.html
##########
@@ -51,7 +63,15 @@ <h4>{{ title }}</h4>
// Animation speed for auto tailing log display.
const ANIMATION_SPEED = 1000;
// Total number of tabs to show.
- const TOTAL_ATTEMPTS = "{{ logs|length }}";
+ const TOTAL_ATTEMPTS = getMetaValue('total-attempts');
+ // Exectuin date
Review comment:
I apply your suggestion.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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