mirror of
https://github.com/stashapp/stash.git
synced 2026-04-20 22:11:32 +02:00
Fix scrape result row showing when results are same (#6415)
This commit is contained in:
parent
b23c3cd618
commit
f71d0ac2dd
1 changed files with 2 additions and 2 deletions
|
|
@ -184,7 +184,7 @@ export const ScrapedObjectsRow = <T,>(props: IScrapedObjectsRow<T>) => {
|
|||
field,
|
||||
result,
|
||||
onChange,
|
||||
newObjects,
|
||||
newObjects = [],
|
||||
onCreateNew,
|
||||
onLinkExisting,
|
||||
renderObjects,
|
||||
|
|
@ -202,7 +202,7 @@ export const ScrapedObjectsRow = <T,>(props: IScrapedObjectsRow<T>) => {
|
|||
)}
|
||||
onChange={onChange}
|
||||
newValues={
|
||||
onCreateNew ? (
|
||||
onCreateNew && newObjects.length > 0 ? (
|
||||
<NewScrapedObjects
|
||||
newValues={newObjects ?? []}
|
||||
onCreateNew={onCreateNew}
|
||||
|
|
|
|||
Loading…
Reference in a new issue