mirror of
https://github.com/Radarr/Radarr
synced 2025-12-24 09:13:45 +01:00
parent
3ea6d78d39
commit
79a05876bf
1 changed files with 7 additions and 5 deletions
|
|
@ -213,13 +213,15 @@ export const defaultState = {
|
|||
{
|
||||
name: 'studio',
|
||||
label: 'Studio',
|
||||
type: filterBuilderTypes.ARRAY,
|
||||
type: filterBuilderTypes.EXACT,
|
||||
optionsSelector: function(items) {
|
||||
const tagList = items.reduce((acc, movie) => {
|
||||
acc.push({
|
||||
id: movie.studio,
|
||||
name: movie.studio
|
||||
});
|
||||
if (movie.studio) {
|
||||
acc.push({
|
||||
id: movie.studio,
|
||||
name: movie.studio
|
||||
});
|
||||
}
|
||||
|
||||
return acc;
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Reference in a new issue