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

Merge pull request #3367 from SenorSmartyPants/Rewatch

Display rewatching list in Next up section on home page
This commit is contained in:
Bill Thornton 2022-02-21 12:35:35 -05:00 committed by GitHub
commit 270501e4f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 9 deletions

View file

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