mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
fixes row dupplication [fixes SCI-1385]
This commit is contained in:
parent
b5649d3d5b
commit
e7328c2e20
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class RepositoryRowsController < ApplicationController
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
record.destroy if errors[:repository_cells].any?
|
||||
respond_to do |format|
|
||||
format.json do
|
||||
if errors[:default_fields].empty? && errors[:repository_cells].empty?
|
||||
|
|
Loading…
Reference in a new issue