Skip to content

Commit

Permalink
use FIRE_YEAR for perimiter (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzlucas authored Apr 30, 2024
1 parent 9e311c7 commit 341db00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 341db00

Please sign in to comment.