ashb commented on a change in pull request #22272:
URL: https://github.com/apache/airflow/pull/22272#discussion_r829270236
##########
File path: airflow/www/static/js/dag.js
##########
@@ -135,12 +135,18 @@ export function callModal(t, d, extraLinks, tryNumbers,
sd, drID, mi) {
mapIndex = mi;
$('#dag_run_id').text(drID);
$('#task_id').text(t);
- $('#map_index').text(mapIndex);
$('#execution_date').text(formatDateTime(d));
$('#taskInstanceModal').modal({});
$('#taskInstanceModal').css('margin-top', '0');
$('#extra_links').prev('hr').hide();
$('#extra_links').empty().hide();
+ if (mi >= 0) {
+ $('#modal_map_index').show();
+ $('#map_index, #modal_map_index .value').text(mi);
Review comment:
Hmmm good question. This was already there, I just moved it. This might
be setting the form control.
--
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]