mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add scenes tab to performer page (#280)
This commit is contained in:
@@ -290,27 +290,24 @@ export class StashService {
|
||||
"allPerformers"
|
||||
];
|
||||
|
||||
public static usePerformerCreate(input: GQL.PerformerCreateInput) {
|
||||
public static usePerformerCreate() {
|
||||
return GQL.usePerformerCreateMutation({
|
||||
variables: input,
|
||||
update: () =>
|
||||
StashService.invalidateQueries(
|
||||
StashService.performerMutationImpactedQueries
|
||||
)
|
||||
});
|
||||
}
|
||||
public static usePerformerUpdate(input: GQL.PerformerUpdateInput) {
|
||||
public static usePerformerUpdate() {
|
||||
return GQL.usePerformerUpdateMutation({
|
||||
variables: input,
|
||||
update: () =>
|
||||
StashService.invalidateQueries(
|
||||
StashService.performerMutationImpactedQueries
|
||||
)
|
||||
});
|
||||
}
|
||||
public static usePerformerDestroy(input: GQL.PerformerDestroyInput) {
|
||||
public static usePerformerDestroy() {
|
||||
return GQL.usePerformerDestroyMutation({
|
||||
variables: input,
|
||||
update: () =>
|
||||
StashService.invalidateQueries(
|
||||
StashService.performerMutationImpactedQueries
|
||||
|
||||
Reference in New Issue
Block a user