Merge pull request #7956 from betagouv/fix_extra_end_in_haml

fix(editeur): supprime un 'end' surnuméraire
This commit is contained in:
LeSim 2022-10-25 17:05:16 +02:00 committed by GitHub
commit 1ebf7e2d9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,5 @@
- if rendered.present? - if rendered.present?
= turbo_stream.morph dom_id(@tdc.stable_self, :conditions) do = turbo_stream.morph dom_id(@tdc.stable_self, :conditions) do
- rendered - rendered
end
- else - else
= turbo_stream.remove dom_id(@tdc.stable_self, :conditions) = turbo_stream.remove dom_id(@tdc.stable_self, :conditions)