From 1bbe567c4ef8e0ad8fa9ae25b8da45efa1c20af4 Mon Sep 17 00:00:00 2001 From: Kim Date: Fri, 13 Sep 2024 10:59:07 -0800 Subject: [PATCH] hides calval dataset toggle, disables logic (unremoved) --- .../other-selector/other-selector.component.html | 2 +- src/app/services/search-params.service.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/components/shared/selectors/other-selector/other-selector.component.html b/src/app/components/shared/selectors/other-selector/other-selector.component.html index 89a8d5fed..a7bf55ff1 100644 --- a/src/app/components/shared/selectors/other-selector/other-selector.component.html +++ b/src/app/components/shared/selectors/other-selector/other-selector.component.html @@ -103,5 +103,5 @@ --> - + diff --git a/src/app/services/search-params.service.ts b/src/app/services/search-params.service.ts index 2e14aa069..6f51c8ab0 100644 --- a/src/app/services/search-params.service.ts +++ b/src/app/services/search-params.service.ts @@ -59,12 +59,12 @@ export class SearchParamsService { ) ); - private operaCalibrationParam$ = this.store$.select(filterStore.getUseCalibrationData).pipe( - withLatestFrom(this.store$.select(filterStore.getSelectedDatasetId)), - map(([useCalibrationData, dataset]) => - dataset === models.opera_s1.id && useCalibrationData ? - ({dataset: models.opera_s1.calibrationDatasets}) : ({})) - ) + // private operaCalibrationParam$ = this.store$.select(filterStore.getUseCalibrationData).pipe( + // withLatestFrom(this.store$.select(filterStore.getSelectedDatasetId)), + // map(([useCalibrationData, dataset]) => + // dataset === models.opera_s1.id && useCalibrationData ? + // ({dataset: models.opera_s1.calibrationDatasets}) : ({})) + // ) private groupID$ = this.store$.select(filterStore.getGroupID).pipe( map(groupid => ({ @@ -214,7 +214,7 @@ export class SearchParamsService { this.missionParam$, this.burstParams$, this.operaBurstParams$, - this.operaCalibrationParam$, + // this.operaCalibrationParam$, this.groupID$] ).pipe( map((params: any[]) => params