Remove buttons for activity empty state (#8999)
Before: <img width="482" alt="Capture d’écran 2024-12-10 à 11 17 53" src="https://github.com/user-attachments/assets/3641e902-10b9-4fbf-8383-d6e5d5b2de79"> After: <img width="453" alt="Capture d’écran 2024-12-10 à 11 33 01" src="https://github.com/user-attachments/assets/9f949933-0740-4c91-abf3-2c1817a68968">
This commit is contained in:
@ -40,11 +40,8 @@ type CardComponentProps = {
|
||||
type CardComponentType = (props: CardComponentProps) => JSX.Element | null;
|
||||
|
||||
export const CardComponents: Record<CardType, CardComponentType> = {
|
||||
[CardType.TimelineCard]: ({ targetableObject, isInRightDrawer }) => (
|
||||
<TimelineActivities
|
||||
targetableObject={targetableObject}
|
||||
isInRightDrawer={isInRightDrawer}
|
||||
/>
|
||||
[CardType.TimelineCard]: ({ targetableObject }) => (
|
||||
<TimelineActivities targetableObject={targetableObject} />
|
||||
),
|
||||
|
||||
[CardType.FieldCard]: ({ targetableObject, isInRightDrawer }) => (
|
||||
|
||||
Reference in New Issue
Block a user