mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 01:36:33 +08:00
Skip cell import if value is nil
This commit is contained in:
parent
2283491629
commit
32df6f2568
1 changed files with 1 additions and 1 deletions
|
@ -131,8 +131,8 @@ module RepositoryImportParser
|
|||
|
||||
row.reject { |k| k == :repository_row }.each do |index, value|
|
||||
column = @columns[index]
|
||||
|
||||
value = try_decimal_to_string(value) unless column.repository_number_value?
|
||||
next if value.nil?
|
||||
|
||||
cell_value_attributes = { created_by: @user,
|
||||
last_modified_by: @user,
|
||||
|
|
Loading…
Reference in a new issue