mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-11 07:03:34 +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
|
end
|
||||||
end
|
end
|
||||||
|
record.destroy if errors[:repository_cells].any?
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.json do
|
format.json do
|
||||||
if errors[:default_fields].empty? && errors[:repository_cells].empty?
|
if errors[:default_fields].empty? && errors[:repository_cells].empty?
|
||||||
|
|
Loading…
Reference in a new issue