fix(calendar): missing badge for sonarr series (#4150)
This commit is contained in:
@@ -47,6 +47,10 @@ export class SonarrIntegration extends Integration implements ICalendarIntegrati
|
|||||||
? {
|
? {
|
||||||
src: imageSrc,
|
src: imageSrc,
|
||||||
aspectRatio: { width: 7, height: 12 },
|
aspectRatio: { width: 7, height: 12 },
|
||||||
|
badge: {
|
||||||
|
color: "red",
|
||||||
|
content: `S${event.seasonNumber}/E${event.episodeNumber}`,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
location: null,
|
location: null,
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ const seriesRelease = (start: Date, end: Date): CalendarEvent => ({
|
|||||||
src: "https://image.tmdb.org/t/p/original/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
|
src: "https://image.tmdb.org/t/p/original/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
|
||||||
aspectRatio: { width: 7, height: 12 },
|
aspectRatio: { width: 7, height: 12 },
|
||||||
badge: {
|
badge: {
|
||||||
content: "S1:E1",
|
content: "S1/E1",
|
||||||
color: "red",
|
color: "red",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user