From 381e3bc283d3bcc9bb650182b31be18835e55787 Mon Sep 17 00:00:00 2001 From: Igor Zalutski Date: Thu, 8 Aug 2024 14:12:53 +0400 Subject: [PATCH] Fix Discarded By condition --- .../project/[projectSlug]/runs/[runId]/ProjectRunDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/runs/[runId]/ProjectRunDetails.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/runs/[runId]/ProjectRunDetails.tsx index 994afa6b..e6571777 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/runs/[runId]/ProjectRunDetails.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/project/[projectSlug]/runs/[runId]/ProjectRunDetails.tsx @@ -314,7 +314,7 @@ export const ProjectRunDetails: React.FC<{ {run.is_approved === true && ( Approved by: )} - {run.is_approved === false && ( + {run.status === ToTitleCase('discarded') && ( Discarded by: )} {run.is_approved !== null && (