diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx index fd18f2b33..6a1850b17 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx @@ -29,11 +29,13 @@ export const InfoCard = (props: IProps) => { return
- {props.syntax.supportedSoftware.map( - (s: ISyntaxSupportedSoftwareDto, i: number) => - - - )} + {props.syntax + ? props.syntax.supportedSoftware.map( + (s: ISyntaxSupportedSoftwareDto, i: number) => + + + ) + : null}