Raphaël Bosi
2025-03-21 15:30:14 +01:00
committed by GitHub
parent b49dc57bbf
commit d7dabe5826
2 changed files with 20 additions and 4 deletions

View File

@ -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 }) => (