Fixed: UI Error on Collection Filter

Fixes #7474
pull/7485/head
Qstick 2 years ago
parent 192dd9c137
commit d8891ee4ea

@ -116,7 +116,7 @@ export const filterPredicates = {
const predicate = filterTypePredicates[type];
const { collection } = item;
return predicate(collection ? collection.name : '', filterValue);
return predicate(collection ? collection.title : '', filterValue);
},
originalLanguage: function(item, filterValue, type) {

@ -341,8 +341,8 @@ export const defaultState = {
const collectionList = items.reduce((acc, movie) => {
if (movie.collection) {
acc.push({
id: movie.collection.name,
name: movie.collection.name
id: movie.collection.title,
name: movie.collection.title
});
}

Loading…
Cancel
Save