From 946aacfb4c785df7107c76338a37967ecbfea5d9 Mon Sep 17 00:00:00 2001 From: Urmi Kataria Date: Thu, 9 Nov 2023 10:46:30 -0800 Subject: [PATCH] fixes --- .../application-search-table.component.ts | 2 +- .../notice-of-intent-search-table.component.ts | 2 +- services/apps/alcs/src/alcs/search/search.dto.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/portal-frontend/src/app/features/public/search/application-search-table/application-search-table.component.ts b/portal-frontend/src/app/features/public/search/application-search-table/application-search-table.component.ts index 7222652e79..ee12d3f1d3 100644 --- a/portal-frontend/src/app/features/public/search/application-search-table/application-search-table.component.ts +++ b/portal-frontend/src/app/features/public/search/application-search-table/application-search-table.component.ts @@ -37,7 +37,7 @@ export class ApplicationSearchTableComponent implements OnDestroy { @Output() tableChange = new EventEmitter(); displayedColumns = ['fileId', 'ownerName', 'type', 'portalStatus', 'outcome', 'lastUpdate', 'government']; - outcomeMapping: {[code:string] : string } = { + outcomeMapping: Record = { 'APPR': "Approved", 'REFU': "Refused", 'RESC': "Rescinded", diff --git a/portal-frontend/src/app/features/public/search/notice-of-intent-search-table/notice-of-intent-search-table.component.ts b/portal-frontend/src/app/features/public/search/notice-of-intent-search-table/notice-of-intent-search-table.component.ts index b3636aae0a..fe343c1e0b 100644 --- a/portal-frontend/src/app/features/public/search/notice-of-intent-search-table/notice-of-intent-search-table.component.ts +++ b/portal-frontend/src/app/features/public/search/notice-of-intent-search-table/notice-of-intent-search-table.component.ts @@ -35,7 +35,7 @@ export class NoticeOfIntentSearchTableComponent implements OnDestroy { @Output() tableChange = new EventEmitter(); displayedColumns = ['fileId', 'ownerName', 'type', 'portalStatus', 'outcome', 'lastUpdate', 'government']; - outcomeMapping: {[code:string] : string } = { + outcomeMapping: Record = { 'APPR': "Approved", 'ONTP': "Ordered not to Proceed (NOI)", } diff --git a/services/apps/alcs/src/alcs/search/search.dto.ts b/services/apps/alcs/src/alcs/search/search.dto.ts index 8bd5119cac..e169a54787 100644 --- a/services/apps/alcs/src/alcs/search/search.dto.ts +++ b/services/apps/alcs/src/alcs/search/search.dto.ts @@ -16,7 +16,6 @@ export class SearchResultDto { fileNumber: string; boardCode?: string; label?: ApplicationTypeDto; - outcome?: string } export type SearchEntityClass = 'APP' | 'NOI' | 'PLAN' | 'COV' | 'NOTI';