mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add bulk movie update (#2283)
* Add bulk movie edit dialog * Implement common bulk edit functions Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -659,6 +659,14 @@ export const useMovieUpdate = () =>
|
||||
update: deleteCache(movieMutationImpactedQueries),
|
||||
});
|
||||
|
||||
export const useBulkMovieUpdate = (input: GQL.BulkMovieUpdateInput) =>
|
||||
GQL.useBulkMovieUpdateMutation({
|
||||
variables: {
|
||||
input,
|
||||
},
|
||||
update: deleteCache(movieMutationImpactedQueries),
|
||||
});
|
||||
|
||||
export const useMovieDestroy = (input: GQL.MovieDestroyInput) =>
|
||||
GQL.useMovieDestroyMutation({
|
||||
variables: input,
|
||||
|
||||
Reference in New Issue
Block a user