mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-16 10:06:57 +08:00
Fix duplicate import items check [SCI-10878]
This commit is contained in:
parent
544da61038
commit
ec9bdbfd27
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ module RepositoryImportParser
|
|||
existing_row.import_status = 'unchanged'
|
||||
elsif existing_row.archived
|
||||
existing_row.import_status = 'archived'
|
||||
elsif duplicate_ids.include?(existing_row.id)
|
||||
elsif duplicate_ids.include?(existing_row.code)
|
||||
existing_row.import_status = 'duplicated'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue