Skip to content

Commit 463900c

Browse files
dstandishephraimbuddy
authored andcommitted
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. (cherry picked from commit f105343)
1 parent a325ba7 commit 463900c

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)