diff --git a/packages/client/components/ActivityLibrary/ActivityCard.tsx b/packages/client/components/ActivityLibrary/ActivityCard.tsx index 260013189a5..2289c25004b 100644 --- a/packages/client/components/ActivityLibrary/ActivityCard.tsx +++ b/packages/client/components/ActivityLibrary/ActivityCard.tsx @@ -50,14 +50,13 @@ export interface ActivityCardProps { className?: string theme: CardTheme title?: string - badge?: React.ReactNode children?: React.ReactNode type?: MeetingTypeEnum templateRef?: ActivityCard_template$key } export const ActivityCard = (props: ActivityCardProps) => { - const {className, theme, title, children, type, badge, templateRef} = props + const {className, theme, title, children, type, templateRef} = props const category = type && MEETING_TYPE_TO_CATEGORY[type] const [showTooltip, setShowTooltip] = useState(false) const hoverTimeout = useRef(null) @@ -105,10 +104,7 @@ export const ActivityCard = (props: ActivityCardProps) => { className )} > -
- {children} -
{badge}
-
+
{children}
{template && ( diff --git a/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx b/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx index c9d09f21195..2fb98c8671c 100644 --- a/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx +++ b/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx @@ -106,7 +106,6 @@ const ActivityDetails = (props: Props) => { diff --git a/packages/client/components/ActivityLibrary/ActivityGrid.tsx b/packages/client/components/ActivityLibrary/ActivityGrid.tsx index 1ee031f248a..2564d542746 100644 --- a/packages/client/components/ActivityLibrary/ActivityGrid.tsx +++ b/packages/client/components/ActivityLibrary/ActivityGrid.tsx @@ -3,7 +3,6 @@ import React from 'react' import {useFragment} from 'react-relay' import {Link} from 'react-router-dom' import {ActivityGrid_user$key} from '../../__generated__/ActivityGrid_user.graphql' -import {ActivityBadge} from './ActivityBadge' import {ActivityCard, ActivityCardImage} from './ActivityCard' import ActivityCardFavorite from './ActivityCardFavorite' import {Template} from './ActivityLibrary' @@ -45,11 +44,6 @@ const ActivityGrid = (props: ActivityGridProps) => { title={template.name} type={template.type} templateRef={template} - badge={ - template.scope !== 'PUBLIC' ? ( - Custom - ) : null - } > { name category illustrationUrl - scope } `, templateRef @@ -54,11 +52,6 @@ const RetroDrawerTemplateCard = (props: Props) => { theme={CATEGORY_THEMES[template.category as CategoryID]} title={template.name} type='retrospective' - badge={ - template.scope !== 'PUBLIC' ? ( - Custom - ) : null - } >