From 66022ac6183e9db3589f28f6da0a6295a7cf61f0 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 25 Oct 2024 02:07:59 +0530 Subject: [PATCH] feat: show run by --- src/components/molecules/ColapsibleRow.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/molecules/ColapsibleRow.tsx b/src/components/molecules/ColapsibleRow.tsx index 803cfe5c..ebb734c5 100644 --- a/src/components/molecules/ColapsibleRow.tsx +++ b/src/components/molecules/ColapsibleRow.tsx @@ -75,6 +75,14 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun ); + case 'runBy': + return ( + + { + row.runByUserId ? `User: ${row.runByUserId}` : row.runByScheduleId ? `Schedule ID: ${row.runByScheduleId}` : row.runByAPI ? 'API' : 'Unknown' + } + + ) default: return null; }