mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 07:49:45 +02:00
parent
192dd9c137
commit
d8891ee4ea
@ -116,7 +116,7 @@ export const filterPredicates = {
|
|||||||
const predicate = filterTypePredicates[type];
|
const predicate = filterTypePredicates[type];
|
||||||
const { collection } = item;
|
const { collection } = item;
|
||||||
|
|
||||||
return predicate(collection ? collection.name : '', filterValue);
|
return predicate(collection ? collection.title : '', filterValue);
|
||||||
},
|
},
|
||||||
|
|
||||||
originalLanguage: function(item, filterValue, type) {
|
originalLanguage: function(item, filterValue, type) {
|
||||||
|
@ -341,8 +341,8 @@ export const defaultState = {
|
|||||||
const collectionList = items.reduce((acc, movie) => {
|
const collectionList = items.reduce((acc, movie) => {
|
||||||
if (movie.collection) {
|
if (movie.collection) {
|
||||||
acc.push({
|
acc.push({
|
||||||
id: movie.collection.name,
|
id: movie.collection.title,
|
||||||
name: movie.collection.name
|
name: movie.collection.title
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user