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

Merge branch 'master' into migrate-to-ES6-41

This commit is contained in:
Cameron 2020-08-03 14:58:18 +01:00 committed by GitHub
commit ea852b6cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
166 changed files with 4026 additions and 4908 deletions

View file

@ -157,11 +157,11 @@ import 'emby-scroller';
options.Limit = 20;
const userId = apiClient.getCurrentUserId();
if ('MusicArtist' === section.types) {
if (section.types === 'MusicArtist') {
return apiClient.getArtists(userId, options);
}
if ('Person' === section.types) {
if (section.types === 'Person') {
return apiClient.getPeople(userId, options);
}
@ -208,7 +208,7 @@ import 'emby-scroller';
preferThumb: section.preferThumb,
shape: section.shape,
centerText: section.centerText && !cardLayout,
overlayText: false !== section.overlayText,
overlayText: section.overlayText !== false,
showTitle: section.showTitle,
showYear: section.showYear,
showParentTitle: section.showParentTitle,