mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Merge pull request #7712 from rekonder/aj_SCI_10891
Fix import for do not import option [SCI-10891]
This commit is contained in:
commit
668e3b0851
|
@ -188,7 +188,7 @@ export default {
|
|||
|
||||
this.$emit(
|
||||
'generatePreview',
|
||||
this.selectedItems.filter((item) => item.key !== 'do_not_import')
|
||||
this.selectedItems
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -49,6 +49,8 @@ module RepositoryImportParser
|
|||
when '-1'
|
||||
@columns << nil
|
||||
@name_index = index
|
||||
when 'do_not_import'
|
||||
@columns << nil
|
||||
else
|
||||
@columns << @repository_columns.where(data_type: Extends::REPOSITORY_IMPORTABLE_TYPES)
|
||||
.preload(Extends::REPOSITORY_IMPORT_COLUMN_PRELOADS)
|
||||
|
|
Loading…
Reference in a new issue