From 95a6d3ea2f7d42ea95a010d81ed9118255c6c7e6 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Wed, 20 May 2020 22:47:16 +1000 Subject: [PATCH] Fix sceneTags filter selection (#564) --- ui/v2.5/src/components/List/AddFilter.tsx | 1 + ui/v2.5/src/components/Shared/Select.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/List/AddFilter.tsx b/ui/v2.5/src/components/List/AddFilter.tsx index 307261fe6..5ed6f1b37 100644 --- a/ui/v2.5/src/components/List/AddFilter.tsx +++ b/ui/v2.5/src/components/List/AddFilter.tsx @@ -141,6 +141,7 @@ export const AddFilter: React.FC = ( criterion.type !== "performers" && criterion.type !== "studios" && criterion.type !== "tags" && + criterion.type !== "sceneTags" && criterion.type !== "movies" ) return; diff --git a/ui/v2.5/src/components/Shared/Select.tsx b/ui/v2.5/src/components/Shared/Select.tsx index 071bd0482..737705dcc 100644 --- a/ui/v2.5/src/components/Shared/Select.tsx +++ b/ui/v2.5/src/components/Shared/Select.tsx @@ -23,7 +23,7 @@ type ValidTypes = type Option = { value: string; label: string }; interface ITypeProps { - type?: "performers" | "studios" | "tags" | "movies"; + type?: "performers" | "studios" | "tags" | "sceneTags" | "movies"; } interface IFilterProps { ids?: string[];