mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Gallery scrubber (#5133)
This commit is contained in:
@@ -275,6 +275,10 @@ export const useFindGallery = (id: string) => {
|
||||
return GQL.useFindGalleryQuery({ variables: { id }, skip });
|
||||
};
|
||||
|
||||
export const useFindGalleryImageID = (id: string, index: number) => {
|
||||
return GQL.useFindGalleryImageIdQuery({ variables: { id, index } });
|
||||
};
|
||||
|
||||
export const useFindGalleries = (filter?: ListFilterModel) =>
|
||||
GQL.useFindGalleriesQuery({
|
||||
skip: filter === undefined,
|
||||
|
||||
Reference in New Issue
Block a user