From 341db00b795794af1d5f18a40a318da4200e030f Mon Sep 17 00:00:00 2001 From: Lucas Li <35748253+yzlucas@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:30:53 -0700 Subject: [PATCH] use FIRE_YEAR for perimiter (#1858) --- .../incident-identify-panel.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/wfnews-war/src/main/angular/src/app/components/incident-identify-panel/incident-identify-panel.component.ts b/client/wfnews-war/src/main/angular/src/app/components/incident-identify-panel/incident-identify-panel.component.ts index 1c8eb90a71..a1982306d8 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/incident-identify-panel/incident-identify-panel.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/incident-identify-panel/incident-identify-panel.component.ts @@ -81,8 +81,8 @@ export class IncidentIdentifyPanelComponent { const id = incidentRef.FIRE_NUMBER ? incidentRef.FIRE_NUMBER : incidentRef.incident_number_label; - const year = incidentRef.fire_year; - + const year = incidentRef.fire_year ? incidentRef.fire_year : incidentRef.FIRE_YEAR; + // activeFire uses fire_year and fire perimeter uses FIRE_YEAR this.publishedIncidentService .fetchPublishedIncident(id, year) .toPromise()