diff --git a/app/controllers/repository_rows_controller.rb b/app/controllers/repository_rows_controller.rb index f5947725a..88b0b64b0 100644 --- a/app/controllers/repository_rows_controller.rb +++ b/app/controllers/repository_rows_controller.rb @@ -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?