mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
fix error msg when editing empty cell in repositories
This commit is contained in:
parent
05ea00a5d3
commit
1b683bc70e
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class RepositoryRowsController < ApplicationController
|
|||
record_annotation_notification(@record, value.repository_cell)
|
||||
else
|
||||
errors[:repository_cells] << {
|
||||
"#{cell.repository_column_id}": value.errors.messages
|
||||
"#{column.id}": value.errors.messages
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue