Skip to content

Commit

Permalink
add performers to cache mutation fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dogwithakeyboard committed Nov 27, 2023
1 parent f5db2c5 commit eccf9c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/v2.5/src/core/StashService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ const sceneMutationImpactedTypeFields = {
"movie_count",
"performer_count",
],
Studio: ["scene_count", "performer_count"],
Studio: ["scene_count", "performer_count", "performers"],
Tag: ["scene_count"],
};

Expand Down Expand Up @@ -815,7 +815,7 @@ export const useSceneIncrementPlayCount = () =>
const imageMutationImpactedTypeFields = {
Gallery: ["images", "image_count"],
Performer: ["image_count", "performer_count"],
Studio: ["image_count", "performer_count"],
Studio: ["image_count", "performer_count", "performers"],
Tag: ["image_count"],
};

Expand Down Expand Up @@ -1215,7 +1215,7 @@ export const useSceneMarkerDestroy = () =>
const galleryMutationImpactedTypeFields = {
Scene: ["galleries"],
Performer: ["gallery_count", "performer_count"],
Studio: ["gallery_count", "performer_count"],
Studio: ["gallery_count", "performer_count", "performers"],
Tag: ["gallery_count"],
};

Expand Down

0 comments on commit eccf9c5

Please sign in to comment.