fix(conditional): update error summary when condition change

This commit is contained in:
simon lehericey 2022-09-14 16:07:55 +02:00
parent eb71207457
commit b6686828db

View file

@ -1,3 +1,5 @@
= turbo_stream.replace 'errors-summary', render(TypesDeChampEditor::ErrorsSummary.new(revision: @procedure.draft_revision))
- rendered = render @condition_component
- if rendered.present?