Prevent movie link from being wiped when tagging scene (#933)

This commit is contained in:
InfiniteTF
2020-11-09 02:29:13 +01:00
committed by GitHub
parent 8097cd39d2
commit 6bb24d1744

View File

@@ -285,6 +285,10 @@ const StashSearchResult: React.FC<IStashSearchResultProps> = ({
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 ?? []),
{