mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
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,
|
||||
aspectRatio: { width: 7, height: 12 },
|
||||
badge: {
|
||||
color: "red",
|
||||
content: `S${event.seasonNumber}/E${event.episodeNumber}`,
|
||||
},
|
||||
}
|
||||
: null,
|
||||
location: null,
|
||||
|
||||
@@ -69,7 +69,7 @@ const seriesRelease = (start: Date, end: Date): CalendarEvent => ({
|
||||
src: "https://image.tmdb.org/t/p/original/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
|
||||
aspectRatio: { width: 7, height: 12 },
|
||||
badge: {
|
||||
content: "S1:E1",
|
||||
content: "S1/E1",
|
||||
color: "red",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user