Merge pull request #11021 from demarches-simplifiees/small_fixes_on_columns
Tech: petits correctifs sur les colonnes
This commit is contained in:
commit
4be4f5136e
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,8 @@ class Instructeurs::ColumnFilterValueComponent < ApplicationComponent
|
|||
id: 'value',
|
||||
name: "filters[][filter]",
|
||||
class: 'fr-select',
|
||||
data: { no_autosubmit: true }
|
||||
data: { no_autosubmit: true },
|
||||
required: true
|
||||
else
|
||||
tag.input(
|
||||
class: 'fr-input',
|
||||
|
|
|
@ -32,7 +32,7 @@ class AssignTo < ApplicationRecord
|
|||
if errors.present?
|
||||
Sentry.capture_message(
|
||||
"Destroying invalid ProcedurePresentation",
|
||||
extra: { procedure_presentation_id: procedure_presentation.id, errors: }
|
||||
extra: { procedure_presentation_id: procedure_presentation.id, errors: errors.full_messages }
|
||||
)
|
||||
self.procedure_presentation = nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue