Skip to content

Commit

Permalink
Merge pull request #105 from USEPA/fix-national-annual-electricity
Browse files Browse the repository at this point in the history
Fix national annual electricity in monthly input
  • Loading branch information
ntknguyen authored Sep 17, 2021
2 parents 5a94c5d + bae2146 commit 8580ce2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/src/components/EmissionsCalculator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,24 @@ export default {
$("#residentialCustomersButton").hide();
});
$("#calculateMonthlyAverageButton").click(function() {
self.commercialCustomerForm = false;
self.residentialMode = true;
self.userSelectionStore.setResidentialMode(true);
self.displayNationalAverage();
$("#customerText").show();
$("#residentialCustomersButton").hide();
});
$("#calculateMonthlyActualButton").click(function() {
self.commercialCustomerForm = false;
self.residentialMode = true;
self.userSelectionStore.setResidentialMode(true);
self.displayNationalAverage();
$("#customerText").show();
$("#residentialCustomersButton").hide();
});
$("#annual-results-text").hide();
$("#national-avg-annual-results-text").show();
$("#result").show();
Expand Down

0 comments on commit 8580ce2

Please sign in to comment.