Add createdBy source for workflows (#9342)

Fix createdBy that is not displayed for workflows

<img width="1510" alt="Capture d’écran 2025-01-03 à 17 58 05"
src="https://github.com/user-attachments/assets/f2d4d7a9-466b-46e7-9d43-d55de88fb803"
/>
This commit is contained in:
Thomas Trompette
2025-01-03 18:26:15 +01:00
committed by GitHub
parent 694c8aae40
commit 5bd2154110
2 changed files with 11 additions and 3 deletions

View File

@ -8,6 +8,7 @@ import {
IconCsv,
IconGmail,
IconRobot,
IconSettingsAutomation,
} from 'twenty-ui';
type ActorDisplayProps = Partial<FieldActorValue> & {
@ -32,6 +33,8 @@ export const ActorDisplay = ({
return IconCalendar;
case 'SYSTEM':
return IconRobot;
case 'WORKFLOW':
return IconSettingsAutomation;
default:
return undefined;
}