Return scrape results if only relationships are returned (#3954)

* Handle scene scrape results where basic fields unset
* Apply fix to other types
* Show scrape dialog if only new items scraped
This commit is contained in:
WithoutPants
2023-07-27 19:50:25 +10:00
committed by GitHub
parent 2ae30028ac
commit a1da626c9f
5 changed files with 155 additions and 116 deletions

View File

@@ -426,7 +426,11 @@ export const SceneScrapeDialog: React.FC<ISceneScrapeDialogProps> = ({
details,
image,
stashID,
].every((r) => !r.scraped)
].every((r) => !r.scraped) &&
newTags.length === 0 &&
newPerformers.length === 0 &&
newMovies.length === 0 &&
!newStudio
) {
onClose();
return <></>;