From 1c41a38ad9515482d769ff8ce2008770fcf252ae Mon Sep 17 00:00:00 2001 From: Igor Zalutski Date: Tue, 13 Aug 2024 16:37:24 +0100 Subject: [PATCH] Always show links to runs in Activity --- .../activity/AllActivityTable.tsx | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/activity/AllActivityTable.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/activity/AllActivityTable.tsx index 00595e36..81c2405d 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/activity/AllActivityTable.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/activity/AllActivityTable.tsx @@ -49,28 +49,18 @@ export const AllActivityTable = ({ runs, allowedRunsForUser }: { transition={{ duration: 0.3 }} > - {allowedRunsForUser.includes(run.id) ? ( - - - {run.id.length > 8 ? `${run.id.substring(0, 8)}...` : run.id} - - - ) : ( + {run.id.length > 8 ? `${run.id.substring(0, 8)}...` : run.id} - )} + + + + + {run.commit_id.substring(0, 8)} + - {allowedRunsForUser.includes(run.id) ? - - - {run.commit_id.substring(0, 8)} - - - : - {run.commit_id.substring(0, 8)} - } {run.status.toUpperCase()}