Update timeline empty state in the side panel (#11093)
Fixes https://github.com/twentyhq/twenty/issues/10914 Before: https://github.com/user-attachments/assets/83764543-06bf-455e-8b07-fa2822691005 After: https://github.com/user-attachments/assets/09afa15d-6352-4024-a6b9-2cccf5991d8a
This commit is contained in:
@ -41,8 +41,11 @@ type CardComponentProps = {
|
||||
type CardComponentType = (props: CardComponentProps) => JSX.Element | null;
|
||||
|
||||
export const CardComponents: Record<CardType, CardComponentType> = {
|
||||
[CardType.TimelineCard]: ({ targetableObject }) => (
|
||||
<TimelineActivities targetableObject={targetableObject} />
|
||||
[CardType.TimelineCard]: ({ targetableObject, isInRightDrawer }) => (
|
||||
<TimelineActivities
|
||||
targetableObject={targetableObject}
|
||||
isInRightDrawer={isInRightDrawer}
|
||||
/>
|
||||
),
|
||||
|
||||
[CardType.FieldCard]: ({ targetableObject, isInRightDrawer }) => (
|
||||
|
||||
Reference in New Issue
Block a user