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