Merge pull request #6041 from grafixeyehero/Fix-list-view-item-undefined
Some checks failed
Quality checks / Run stylelint (push) Has been cancelled
Quality checks / Run TypeScript build check (push) Has been cancelled
Quality checks / Run tests (push) Has been cancelled
Build / Run production build (push) Has been cancelled
CodeQL / Run CodeQL (push) Has been cancelled
Quality checks / Run es-check (push) Has been cancelled
Quality checks / Run eslint (push) Has been cancelled

This commit is contained in:
Bill Thornton
2024-09-08 14:32:30 -04:00
committed by GitHub

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