1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Jack 2021-08-01 19:14:50 -04:00
parent e0a6ad943f
commit 1c57483f20
2 changed files with 2 additions and 2 deletions

View file

@ -598,7 +598,7 @@ import ServerConnections from '../ServerConnections';
function getNextUpFetchFn(serverId, userSettings) {
return function () {
const apiClient = ServerConnections.getApiClient(serverId);
let oldestDateForNextUp = new Date()
const oldestDateForNextUp = new Date();
oldestDateForNextUp.setDate(oldestDateForNextUp.getDate() - userSettings.maxDaysForNextUp());
return apiClient.getNextUpEpisodes({
Limit: enableScrollX() ? 24 : 15,