feat: show run by

This commit is contained in:
karishmas6
2024-10-25 02:07:59 +05:30
parent 141eb7ccd4
commit 66022ac618

View File

@@ -75,6 +75,14 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun
</IconButton>
</TableCell>
);
case 'runBy':
return (
<TableCell key={column.id} align={column.align}>
{
row.runByUserId ? `User: ${row.runByUserId}` : row.runByScheduleId ? `Schedule ID: ${row.runByScheduleId}` : row.runByAPI ? 'API' : 'Unknown'
}
</TableCell>
)
default:
return null;
}