1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Display rewatching list in Next up section on home page

Supports a Rewatching list page as well.
This commit is contained in:
SenorSmartyPants 2022-01-26 17:16:30 -06:00
parent d27bfe9410
commit a6267aee68
4 changed files with 48 additions and 9 deletions

View file

@ -256,7 +256,8 @@ import { appRouter } from '../components/appRouter';
ImageTypeLimit: 1,
EnableImageTypes: 'Primary,Backdrop,Thumb',
EnableTotalRecordCount: false,
SortBy: sortBy
SortBy: sortBy,
Rewatching: params.rewatching
}));
}
@ -615,6 +616,9 @@ class ItemsView {
}
if (params.type === 'nextup') {
if (params.rewatching === 'true') {
return globalize.translate('NextUpRewatching');
}
return globalize.translate('NextUp');
}