mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Add gallery select filter and fix image gallery filtering (#4535)
* Accept gallery ids in findGalleries * Add gallery select component * Add and fix image gallery filter * Show gallery path as alias
This commit is contained in:
@@ -244,6 +244,14 @@ export const queryFindGalleries = (filter: ListFilterModel) =>
|
||||
},
|
||||
});
|
||||
|
||||
export const queryFindGalleriesByIDForSelect = (galleryIDs: number[]) =>
|
||||
client.query<GQL.FindGalleriesForSelectQuery>({
|
||||
query: GQL.FindGalleriesForSelectDocument,
|
||||
variables: {
|
||||
ids: galleryIDs,
|
||||
},
|
||||
});
|
||||
|
||||
export const useFindPerformer = (id: string) => {
|
||||
const skip = id === "new" || id === "";
|
||||
return GQL.useFindPerformerQuery({ variables: { id }, skip });
|
||||
|
||||
Reference in New Issue
Block a user