Fixed: Calendar error after queue is refreshed

pull/2900/head
Mark McDowall 6 years ago
parent fc376bfe3f
commit e10c92878d

@ -25,7 +25,7 @@ function createMissingEpisodeIdsSelector() {
moment(airDateUtc).isAfter(start) && moment(airDateUtc).isAfter(start) &&
moment(airDateUtc).isBefore(end) && moment(airDateUtc).isBefore(end) &&
isBefore(episode.airDateUtc) && isBefore(episode.airDateUtc) &&
!queueDetails.some((details) => details.episode.id === episode.id) !queueDetails.some((details) => !!details.episode && details.episode.id === episode.id)
) { ) {
acc.push(episode.id); acc.push(episode.id);
} }

Loading…
Cancel
Save