diff --git a/libs/facilities/frontend/domain/src/lib/application/facades/facility-detail.facade.ts b/libs/facilities/frontend/domain/src/lib/application/facades/facility-detail.facade.ts index d40b12e4..08c3c53a 100644 --- a/libs/facilities/frontend/domain/src/lib/application/facades/facility-detail.facade.ts +++ b/libs/facilities/frontend/domain/src/lib/application/facades/facility-detail.facade.ts @@ -92,7 +92,7 @@ export class FacilityDetailFacade { private randomEcoScoreFromString(str: string) { // exception for the very legitimate waste disposal :D - if(str === 'totally legal waste disposal'){ + if(str === 'Totally legal waste disposal'){ return 26; } diff --git a/libs/facilities/frontend/view/src/lib/components/facility-detail/facility-detail.page.html b/libs/facilities/frontend/view/src/lib/components/facility-detail/facility-detail.page.html index 8a631b39..965b5ab5 100644 --- a/libs/facilities/frontend/view/src/lib/components/facility-detail/facility-detail.page.html +++ b/libs/facilities/frontend/view/src/lib/components/facility-detail/facility-detail.page.html @@ -11,11 +11,11 @@
@if(this.pumpChart(); as pumpChart){ -
+
} @if(this.envChart(); as envChart){ -
+
} @if(this.metricsChart(); as metricsChart){ -
+
} @@ -59,7 +59,13 @@ {{ getCasesText(facility.cases.length) }} -
+
+
+ + New Case + +
+ @if (facility.cases.length > 0) {
@@ -76,12 +82,6 @@ }
} - -
- - New Case - -