changed the createdByName to Twenty(Sample data). (#7424)
I changed the createdByName from' system' to 'Twenty(Sample Data)'. --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -4,6 +4,7 @@ import {
|
||||
IconCsv,
|
||||
IconGmail,
|
||||
IconGoogleCalendar,
|
||||
IconRobot,
|
||||
IconSettingsAutomation,
|
||||
IconUserCircle,
|
||||
} from 'twenty-ui';
|
||||
@ -52,5 +53,12 @@ export const getSourceEnumOptions = (
|
||||
AvatarIcon: IconSettingsAutomation,
|
||||
isIconInverted: true,
|
||||
},
|
||||
{
|
||||
id: 'SYSTEM',
|
||||
name: 'System',
|
||||
isSelected: selectedItemIds.includes('SYSTEM'),
|
||||
AvatarIcon: IconRobot,
|
||||
isIconInverted: true,
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
@ -7,6 +7,7 @@ import {
|
||||
IconCalendar,
|
||||
IconCsv,
|
||||
IconGmail,
|
||||
IconRobot,
|
||||
} from 'twenty-ui';
|
||||
|
||||
type ActorDisplayProps = Partial<FieldActorValue> & {
|
||||
@ -29,12 +30,15 @@ export const ActorDisplay = ({
|
||||
return IconGmail;
|
||||
case 'CALENDAR':
|
||||
return IconCalendar;
|
||||
case 'SYSTEM':
|
||||
return IconRobot;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}, [source]);
|
||||
|
||||
const isIconInverted = source === 'API' || source === 'IMPORT';
|
||||
const isIconInverted =
|
||||
source === 'API' || source === 'IMPORT' || source === 'SYSTEM';
|
||||
|
||||
return (
|
||||
<AvatarChip
|
||||
|
||||
Reference in New Issue
Block a user