From dcbbcc06641813abae659f60da6c6b2ff9102be3 Mon Sep 17 00:00:00 2001 From: Igor Zalutski Date: Thu, 8 Aug 2024 19:11:38 +0400 Subject: [PATCH] Do not show Org Admin approver --- .../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 e6571777..64bfc7d3 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 @@ -317,7 +317,7 @@ export const ProjectRunDetails: React.FC<{ {run.status === ToTitleCase('discarded') && ( Discarded by: )} - {run.is_approved !== null && ( + {run.is_approved !== null && approverUser?.user_name !== null && (