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

Merge pull request #6041 from grafixeyehero/Fix-list-view-item-undefined

This commit is contained in:
Bill Thornton 2024-09-08 14:32:30 -04:00 committed by GitHub
commit 6cae5c2646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -851,7 +851,7 @@ class ItemsView {
setTitle(null);
getItem(params).then(function (item) {
setTitle(item);
if (item.Type == 'Genre') {
if (item && item.Type == 'Genre') {
item.ParentId = params.parentId;
}