Conditionally rendering impacts and utilities charts
Created by: ay701
Goal: If there is no ECM, we should show line of message to inform users that the utility is not affected in Pie chart. If any utilities not applied for the installed ECM or there is no installed ECM, we should NOT show the utility charts or the corresponding utility line chart.
This updates fixed following Jira issues: DAS-224 Performance Page - Conditional render of elements on the page
How to test:
- Checkout to
M-V-integrationbranch on your local server - Then, pull from
M-V-integrationbranch - Check if impacts pie chart and Utilities line charts disappear properly on following test URI, when there is no retrofit installed for the building http://0.0.0.0:5501/buildings/25313/performance/
- Check if all the buttons work properly in
My Retrofitssection