mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-25 06:26:28 +08:00
Fix clonning of date time values [SCI-4204]
This commit is contained in:
parent
e75d85c198
commit
7d8ba7cb32
1 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,9 @@ module RepositoryActions
|
|||
|
||||
def call
|
||||
new_value = @cell.value.dup
|
||||
new_value.repository_cell = RepositoryCell.new(repository_row: @new_row,
|
||||
repository_column: @cell.repository_column)
|
||||
new_cell = RepositoryCell.new(repository_row: @new_row, repository_column: @cell.repository_column)
|
||||
|
||||
new_cell.value = new_value
|
||||
new_value.created_by = @user
|
||||
new_value.last_modified_by = @user
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue