Skip to content

Commit

Permalink
Fix performer select not working correctly in scrape dialog (stashapp…
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored and halkeye committed Sep 1, 2024
1 parent 3de1425 commit 34dd10e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ export const ScrapedPerformersRow: React.FC<
isDisabled={!isNew}
onSelect={(items) => {
if (onChangeFn) {
onChangeFn(items);
// map the id back to stored_id
onChangeFn(items.map((p) => ({ ...p, stored_id: p.id })));
}
}}
values={selectValue}
Expand Down

0 comments on commit 34dd10e

Please sign in to comment.