From 95fd03200d4e60cc7c0e9e82c9ed980fd1566f47 Mon Sep 17 00:00:00 2001 From: dogwithakeyboard Date: Sat, 7 Oct 2023 09:54:17 +0100 Subject: [PATCH] add performers to cache mutation fields --- ui/v2.5/src/core/StashService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/v2.5/src/core/StashService.ts b/ui/v2.5/src/core/StashService.ts index 6631331e8db..5845d003eeb 100644 --- a/ui/v2.5/src/core/StashService.ts +++ b/ui/v2.5/src/core/StashService.ts @@ -428,7 +428,7 @@ const sceneMutationImpactedTypeFields = { "movie_count", "performer_count", ], - Studio: ["scene_count", "performer_count"], + Studio: ["scene_count", "performer_count", "performers"], Tag: ["scene_count"], }; @@ -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"], }; @@ -1218,7 +1218,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"], };