File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export const MetadataDisplayItem = (props: {
3131 isFirstItem ?: boolean ;
3232 imageClassName ?: string ;
3333 centerElement ?: ReactNode ;
34+ isCalendarEvent ?: boolean ;
3435 additionalInformation ?: string ;
3536 shouldHighlightNameIfInteracted ?: boolean ;
3637 onImageClickBehavior ?: ( ) => Promise < void > ;
@@ -96,17 +97,19 @@ export const MetadataDisplayItem = (props: {
9697 }
9798 if (
9899 metadataDetails &&
100+ props . isCalendarEvent &&
99101 metadataDetails . lot !== MediaLot . Show &&
100- metadataDetails . lot !== MediaLot . Podcast &&
102+ metadataDetails . lot !== MediaLot . Manga &&
101103 metadataDetails . lot !== MediaLot . Anime &&
102- metadataDetails . lot !== MediaLot . Manga
104+ metadataDetails . lot !== MediaLot . Podcast
103105 )
104106 return completedHistory . length > 0 ;
105107 return false ;
106108 } , [
107109 metadataDetails ,
108110 completedHistory ,
109111 userMetadataDetails ,
112+ props . isCalendarEvent ,
110113 props . calendarEventShowInfo ,
111114 props . calendarEventPodcastInfo ,
112115 ] ) ;
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ const CalendarEventMetadata = (props: {
118118
119119 return (
120120 < MetadataDisplayItem
121+ isCalendarEvent
121122 metadataId = { props . item . metadataId }
122123 additionalInformation = { additionalInformation }
123124 calendarEventShowInfo = { props . item . showExtraInformation ?? undefined }
You can’t perform that action at this time.
0 commit comments