Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added undefined handling for actor

Sheen Capadngan88d25e97e92d
diff --git a/frontend/src/views/Org/AuditLogsPage/components/LogsTableRow.tsx b/frontend/src/views/Org/AuditLogsPage/components/LogsTableRow.tsx
index b7053b80a0..4da98613e0 100644
--- a/frontend/src/views/Org/AuditLogsPage/components/LogsTableRow.tsx
+++ b/frontend/src/views/Org/AuditLogsPage/components/LogsTableRow.tsx
@@ -11,6 +11,10 @@ type Props = {
export const LogsTableRow = ({ auditLog, isOrgAuditLogs, showActorColumn }: Props) => {
const renderActor = (actor: Actor) => {
+ if (!actor) {
+ return <Td />;
+ }
+
switch (actor.type) {
case ActorType.USER:
return (