mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix studio selection in scraping dialogs (#4953)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user