diff --git a/web/app/components/plugins/card/card-more-info.tsx b/web/app/components/plugins/card/card-more-info.tsx index 8c9d324c35..b3328e53bd 100644 --- a/web/app/components/plugins/card/card-more-info.tsx +++ b/web/app/components/plugins/card/card-more-info.tsx @@ -1,7 +1,7 @@ import DownloadCount from './base/download-count' type Props = { - downloadCount: number + downloadCount?: number tags: string[] } @@ -11,10 +11,10 @@ const CardMoreInfo = ({ }: Props) => { return (
- + {downloadCount !== undefined && } + {downloadCount !== undefined && tags && tags.length > 0 &&
·
} {tags && tags.length > 0 && ( <> -
·
{tags.map(tag => (