Fix sceneTags filter selection (#564)

This commit is contained in:
WithoutPants
2020-05-20 22:47:16 +10:00
committed by GitHub
parent 1a31ca3e33
commit 95a6d3ea2f
2 changed files with 2 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ export const AddFilter: React.FC<IAddFilterProps> = (
criterion.type !== "performers" && criterion.type !== "performers" &&
criterion.type !== "studios" && criterion.type !== "studios" &&
criterion.type !== "tags" && criterion.type !== "tags" &&
criterion.type !== "sceneTags" &&
criterion.type !== "movies" criterion.type !== "movies"
) )
return; return;

View File

@@ -23,7 +23,7 @@ type ValidTypes =
type Option = { value: string; label: string }; type Option = { value: string; label: string };
interface ITypeProps { interface ITypeProps {
type?: "performers" | "studios" | "tags" | "movies"; type?: "performers" | "studios" | "tags" | "sceneTags" | "movies";
} }
interface IFilterProps { interface IFilterProps {
ids?: string[]; ids?: string[];