Merge pull request #11021 from demarches-simplifiees/small_fixes_on_columns

Tech: petits correctifs sur les colonnes
This commit is contained in:
LeSim 2024-11-06 10:05:37 +00:00 committed by GitHub
commit 4be4f5136e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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',

View file

@ -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