mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
Merge pull request #693 from mlorb/ml_sci_1351_v3
Fix error msg when editing empty cell in repositories [SCI-1351]
This commit is contained in:
commit
beaba6a92b
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class RepositoryRowsController < ApplicationController
|
||||||
record_annotation_notification(@record, value.repository_cell)
|
record_annotation_notification(@record, value.repository_cell)
|
||||||
else
|
else
|
||||||
errors[:repository_cells] << {
|
errors[:repository_cells] << {
|
||||||
"#{cell.repository_column_id}": value.errors.messages
|
"#{column.id}": value.errors.messages
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue