Skip to content

Commit

Permalink
Fix studio selection in scraping dialogs (#4953)
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteStash authored Jun 10, 2024
1 parent d1998cb commit efede32
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export const ScrapedStudioRow: React.FC<IScrapedStudioRow> = ({
isDisabled={!isNew}
onSelect={(items) => {
if (onChangeFn) {
onChangeFn(items[0]);
const { id, ...data } = items[0];
onChangeFn({
...data,
stored_id: id,
});
}
}}
values={selectValue}
Expand Down

0 comments on commit efede32

Please sign in to comment.