mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 12:52:38 +01:00
Fix studio selection in scraping dialogs (#4953)
This commit is contained in:
parent
d1998cb5b0
commit
efede32dd7
1 changed files with 5 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue