diff --git a/src/components/modules/calendar/MediaDisplay.tsx b/src/components/modules/calendar/MediaDisplay.tsx index a13a3246c..5c27801bc 100644 --- a/src/components/modules/calendar/MediaDisplay.tsx +++ b/src/components/modules/calendar/MediaDisplay.tsx @@ -33,7 +33,7 @@ function MediaDisplay(props: { media: IMedia }) { /> )} - + {media.title} {media.imdbId && ( @@ -118,7 +118,7 @@ export function LidarrMediaDisplay(props: any) { } const baseUrl = new URL(lidarr.url).origin; // Remove '/' from the end of the lidarr url - const fullLink = `${baseUrl}${poster.url}`; + const fullLink = poster ? `${baseUrl}${poster.url}` : undefined; // Return a movie poster containting the title and the description return (