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',
|
id: 'value',
|
||||||
name: "filters[][filter]",
|
name: "filters[][filter]",
|
||||||
class: 'fr-select',
|
class: 'fr-select',
|
||||||
data: { no_autosubmit: true }
|
data: { no_autosubmit: true },
|
||||||
|
required: true
|
||||||
else
|
else
|
||||||
tag.input(
|
tag.input(
|
||||||
class: 'fr-input',
|
class: 'fr-input',
|
||||||
|
|
|
@ -32,7 +32,7 @@ class AssignTo < ApplicationRecord
|
||||||
if errors.present?
|
if errors.present?
|
||||||
Sentry.capture_message(
|
Sentry.capture_message(
|
||||||
"Destroying invalid ProcedurePresentation",
|
"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
|
self.procedure_presentation = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue