Skip to content

Commit

Permalink
Fix non-hidden cumulative chart on duration view (#26716)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
dstandish authored and ephraimbuddy committed Oct 18, 2022
1 parent a325ba7 commit 463900c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/www/static/js/duration_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ function handleCheck() {
}
}
$(document).on('chartload', handleCheck);
$(document).ready(handleCheck);

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

0 comments on commit 463900c

Please sign in to comment.