From 835272628d0f9b6eab36be5c90bdcd644ad8e4b4 Mon Sep 17 00:00:00 2001 From: kim Date: Thu, 1 Feb 2024 13:44:28 -0900 Subject: [PATCH 1/3] changes CALIBRATION to CALVAL in opera s1 api definition --- src/app/models/datasets/opera_s1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/models/datasets/opera_s1.ts b/src/app/models/datasets/opera_s1.ts index 8ed670da6..2e01ac87f 100644 --- a/src/app/models/datasets/opera_s1.ts +++ b/src/app/models/datasets/opera_s1.ts @@ -47,7 +47,7 @@ export const opera_s1 = { 'VH' ], subtypes: [], - calibrationDatasets: ['OPERA-S1-CALIBRATION'], + calibrationDatasets: ['OPERA-S1-CALVAL'], calibrationProductTypes: [{ apiValue: 'RTC', displayName: 'L2 Radiometric Terrain Corrected (RTC)', From 4ce1c4dc517a4be3594870360d15d6e2101084d9 Mon Sep 17 00:00:00 2001 From: William Horn Date: Fri, 2 Feb 2024 16:10:15 -0900 Subject: [PATCH 2/3] fix: first on demand products is missing --- src/app/store/search/search.effect.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/app/store/search/search.effect.ts b/src/app/store/search/search.effect.ts index 4283bddf2..d3180d62f 100644 --- a/src/app/store/search/search.effect.ts +++ b/src/app/store/search/search.effect.ts @@ -374,20 +374,18 @@ export class SearchEffects { const jobs = jobsRes.hyp3Jobs; const granuleNames = this.getAllGranulesFromJobs(jobs); - const asfApiListQuery = this.dummyProducts$(granuleNames); return asfApiListQuery.pipe( map(products => { return products - .reduce((prods, p) => { - prods[p.name] = p; - return products; - }, {}) - } - ), + .reduce((prodsByName, p) => { + prodsByName[p.name] = p; + return prodsByName; + }, {}); + }), map(products => { - return this.hyp3JobToProducts(jobs, products) + return this.hyp3JobToProducts(jobs, products); }), withLatestFrom(this.store$.select(getIsCanceled)), map(([products, isCanceled]) => From f25fcf4b041d722fa6654bffd495073757c4cda5 Mon Sep 17 00:00:00 2001 From: William Horn Date: Fri, 2 Feb 2024 16:25:42 -0900 Subject: [PATCH 3/3] chore: fix codefactor issue --- .../scenes-list-header/scenes-list-header.component.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/results-menu/scenes-list-header/scenes-list-header.component.scss b/src/app/components/results-menu/scenes-list-header/scenes-list-header.component.scss index ccd0e21fa..169534b46 100644 --- a/src/app/components/results-menu/scenes-list-header/scenes-list-header.component.scss +++ b/src/app/components/results-menu/scenes-list-header/scenes-list-header.component.scss @@ -122,7 +122,7 @@ $config: mat.define-typography-config(); white-space: nowrap; text-align: center; font-size: 12px; - margin-left: 0px; + margin-left: 0; line-height: 15px; }