diff --git a/client/wfnews-war/src/main/angular/src/app/components/draggable-panel/draggable-panel.component.ts b/client/wfnews-war/src/main/angular/src/app/components/draggable-panel/draggable-panel.component.ts index cfabceb671..8910ab83ba 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/draggable-panel/draggable-panel.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/draggable-panel/draggable-panel.component.ts @@ -643,14 +643,15 @@ return 'Unknown'; case 'active-wildfires-holding': case 'active-wildfires-under-control': case 'active-wildfires-out': - if ( - item.properties.fire_year && - item.properties.incident_number_label - ) { + case 'fire-perimeters' : + const fireYear = item.properties?.fire_year || item.properties?.FIRE_YEAR; + const incidentNumber = item.properties?.incident_number_label || item.properties?.FIRE_NUMBER; + + if (fireYear && incidentNumber) { this.router.navigate([ResourcesRoutes.PUBLIC_INCIDENT], { queryParams: { - fireYear: item.properties.fire_year, - incidentNumber: item.properties.incident_number_label, + fireYear: fireYear, + incidentNumber: incidentNumber, source: [ResourcesRoutes.ACTIVEWILDFIREMAP], }, }); diff --git a/client/wfnews-war/src/main/angular/src/app/utils/index.ts b/client/wfnews-war/src/main/angular/src/app/utils/index.ts index 5aae31e024..eed7abd9c4 100644 --- a/client/wfnews-war/src/main/angular/src/app/utils/index.ts +++ b/client/wfnews-war/src/main/angular/src/app/utils/index.ts @@ -818,6 +818,7 @@ export function displayItemTitle(identifyItem) { case 'bcws-activefires-publicview-inactive': case 'active-wildfires-holding': case 'active-wildfires-out': + case 'fire-perimeters': return 'Wildfire'; } }