Skip to content

Commit f105343

Browse files
authored
Fix non-hidden cumulative chart on duration view (#26716)
When you first load the page, cumulative is unchecked, but the chart itself is unhidden and appears below the non-cumulative chart. Adding this line ensures that the initial value of the checkbox is respected.
1 parent ca480fc commit f105343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airflow/www/static/js/duration_chart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ function handleCheck() {
2929
}
3030
}
3131
$(document).on('chartload', handleCheck);
32+
$(document).ready(handleCheck);
3233

3334
$('#isCumulative').on('click', handleCheck);

0 commit comments

Comments
 (0)