diff --git a/components/calendar/CalendarComponent.tsx b/components/calendar/CalendarComponent.tsx index 78135e511..0efa18064 100644 --- a/components/calendar/CalendarComponent.tsx +++ b/components/calendar/CalendarComponent.tsx @@ -89,7 +89,13 @@ function DayComponent(props: any) { {/* TODO: #6 Make the color of the indicator dependant on the type of medias avilable */} <> {radarrFiltered.length > 0 && ( - + )} {sonarrFiltered.length > 0 && ( @@ -99,11 +105,14 @@ function DayComponent(props: any) { width={700} onClose={() => setOpened(false)} opened={opened} - target={day} + // TODO: Fix this !! WTF ? + target={`‏ ${day}`} > {sonarrFiltered.length > 0 && } - {(radarrFiltered.length > 0 && sonarrFiltered.length > 0) && } + {radarrFiltered.length > 0 && sonarrFiltered.length > 0 && ( + + )} {radarrFiltered.length > 0 && } diff --git a/components/calendar/MediaDisplay.tsx b/components/calendar/MediaDisplay.tsx index 6f3be4186..5c6a5c2bc 100644 --- a/components/calendar/MediaDisplay.tsx +++ b/components/calendar/MediaDisplay.tsx @@ -17,14 +17,7 @@ export function RadarrMediaDisplay(props: any) { // Return a movie poster containting the title and the description return ( - {media.title} + {media.title} ({ @@ -60,13 +53,7 @@ export function SonarrMediaDisplay(props: any) { // Return a movie poster containting the title and the description return ( - {media.series.title} + {media.series.title} ({