Skip to content

Commit

Permalink
Fix emission-chart reload
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves committed Nov 5, 2024
1 parent f27a497 commit 76e3aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tpi/ascor/index_emissions_assessment.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
const newUrl = new URL(window.location.href);
newUrl.searchParams.set('emissions_assessment_date', "<%= @emissions_assessment_date %>");
window.history.replaceState({}, '', newUrl.href);
ReactRailsUJS.mountComponents('#emissions-charts');
ReactRailsUJS.mountComponents('#emissions-chart');
})();

0 comments on commit 76e3aef

Please sign in to comment.