mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Fix performer select not working correctly in scrape dialog (#4199)
This commit is contained in:
@@ -151,7 +151,8 @@ export const ScrapedPerformersRow: React.FC<
|
|||||||
isDisabled={!isNew}
|
isDisabled={!isNew}
|
||||||
onSelect={(items) => {
|
onSelect={(items) => {
|
||||||
if (onChangeFn) {
|
if (onChangeFn) {
|
||||||
onChangeFn(items);
|
// map the id back to stored_id
|
||||||
|
onChangeFn(items.map((p) => ({ ...p, stored_id: p.id })));
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
values={selectValue}
|
values={selectValue}
|
||||||
|
|||||||
Reference in New Issue
Block a user