From 6bb24d1744e717d39f886cb213354b7a2da50328 Mon Sep 17 00:00:00 2001 From: InfiniteTF Date: Mon, 9 Nov 2020 02:29:13 +0100 Subject: [PATCH] Prevent movie link from being wiped when tagging scene (#933) --- ui/v2.5/src/components/Tagger/StashSearchResult.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/v2.5/src/components/Tagger/StashSearchResult.tsx b/ui/v2.5/src/components/Tagger/StashSearchResult.tsx index afffd934c..7b1cb3185 100755 --- a/ui/v2.5/src/components/Tagger/StashSearchResult.tsx +++ b/ui/v2.5/src/components/Tagger/StashSearchResult.tsx @@ -285,6 +285,10 @@ const StashSearchResult: React.FC = ({ url: scene.url, tag_ids: updatedTags, rating: stashScene.rating, + movies: stashScene.movies.map((m) => ({ + movie_id: m.movie.id, + scene_index: m.scene_index, + })), stash_ids: [ ...(stashScene?.stash_ids ?? []), {