Skip to content

Commit

Permalink
hides calval dataset toggle, disables logic (unremoved)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim committed Sep 17, 2024
1 parent aaacc5d commit 1bbe567
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@
</mat-hint> -->
</mat-form-field>

<app-opera-calibration-data-selector *ngIf="dataset.id === 'OPERA-S1'"></app-opera-calibration-data-selector>
<!-- <app-opera-calibration-data-selector *ngIf="dataset.id === 'OPERA-S1'"></app-opera-calibration-data-selector> -->
</div>
14 changes: 7 additions & 7 deletions src/app/services/search-params.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => ({
Expand Down Expand Up @@ -214,7 +214,7 @@ export class SearchParamsService {
this.missionParam$,
this.burstParams$,
this.operaBurstParams$,
this.operaCalibrationParam$,
// this.operaCalibrationParam$,
this.groupID$]
).pipe(
map((params: any[]) => params
Expand Down

0 comments on commit 1bbe567

Please sign in to comment.