diff --git a/src/components/cardbuilder/Card/CardFooterText.tsx b/src/components/cardbuilder/Card/CardFooterText.tsx index 9dae59b8f6..0d2f07423d 100644 --- a/src/components/cardbuilder/Card/CardFooterText.tsx +++ b/src/components/cardbuilder/Card/CardFooterText.tsx @@ -5,6 +5,7 @@ import layoutManager from 'components/layoutManager'; import MoreVertIconButton from '../../common/MoreVertIconButton'; import type { ItemDto } from 'types/base/models/item-dto'; import type { CardOptions } from 'types/cardOptions'; +import Image from 'components/common/Image'; const shouldShowDetailsMenu = ( cardOptions: CardOptions, @@ -23,9 +24,14 @@ interface LogoComponentProps { logoUrl: string; } -const LogoComponent: FC = ({ logoUrl }) => { - return ; -}; +const LogoComponent: FC = ({ logoUrl }) => ( + + + +); interface CardFooterTextProps { item: ItemDto; @@ -51,7 +57,7 @@ const CardFooterText: FC = ({ isOuterFooter }) => { const { cardTextLines } = useCardText({ - item, + item: item.ProgramInfo || item, cardOptions, forceName, imgUrl,