From e3ffbd8b04d3a7b991a48a620fbb972e532963ac Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Wed, 4 Oct 2023 14:52:24 +0300 Subject: [PATCH] fix: bug with feature type matching Signed-off-by: andreas-unleash --- .../ReportTable/ReportExpiredCell/formatExpiredAt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts index c8afc7c9b6..93264fd17d 100644 --- a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts +++ b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts @@ -11,7 +11,7 @@ export const formatExpiredAt = ( const { type, createdAt } = feature; const featureType = featureTypes.find( - featureType => featureType.name === type + featureType => featureType.id === type ); if (