From 5195006f7c51154b30bf1b4c19ab21b2e89c3d0c Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Sun, 8 Sep 2024 20:45:32 +0300 Subject: [PATCH] Fix list view item undefined --- src/controllers/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/list.js b/src/controllers/list.js index 41613932c8..b0006bddda 100644 --- a/src/controllers/list.js +++ b/src/controllers/list.js @@ -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; }