Backport pull request #6041 from jellyfin-web/release-10.9.z

Fix list view item undefined

Original-merge: 6cae5c2646f39f0f63afb204fd12cedf398b80ad

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
grafixeyehero
2024-09-17 10:40:40 -04:00
committed by thornbill
parent 0ae080a150
commit 44ee208768
+1 -1
View File
@@ -856,7 +856,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;
}