From eced61bde6ce786cb305400fc334c49707f726fc Mon Sep 17 00:00:00 2001 From: ssylver93 <107515688+ssylver93@users.noreply.github.com> Date: Tue, 6 Feb 2024 09:34:06 -0800 Subject: [PATCH] feature/WFNEWS-1936 display non fire of note when correct SOC is selected (#1585) --- .../filter-options-dialog/filter-options-dialog.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/wfnews-war/src/main/angular/src/app/components/wildfires-list-header/filter-options-dialog/filter-options-dialog.component.ts b/client/wfnews-war/src/main/angular/src/app/components/wildfires-list-header/filter-options-dialog/filter-options-dialog.component.ts index 8ab25f4306..860196b2f4 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/wildfires-list-header/filter-options-dialog/filter-options-dialog.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/wildfires-list-header/filter-options-dialog/filter-options-dialog.component.ts @@ -33,7 +33,9 @@ export class FilterOptionsDialogComponent { } setFireOfNoteInd() { - this.filterData.fireOfNoteInd = !this.filterData.fireOfNoteInd; + // show fires that are not fire of note when this filter is unselected + if (this.filterData.fireOfNoteInd) this.filterData.fireOfNoteInd = null; + else this.filterData.fireOfNoteInd = true; } setFireCentre(fireCentre: number) {