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

Fix list view item undefined

This commit is contained in:
grafixeyehero 2024-09-08 20:45:32 +03:00
parent 6f203b9d1d
commit 5195006f7c

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;
}