Skip to content

Commit

Permalink
misc: added undefined handling for actor
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Nov 6, 2024
1 parent 4ad9fa1 commit 88d25e9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 88d25e9

Please sign in to comment.