Merge pull request #8528 from mfo/US/fix-morph

correctif(typo): remplace le dernier usage de morph par replace
This commit is contained in:
mfo 2023-01-30 17:28:40 +01:00 committed by GitHub
commit b07dc3cddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
= turbo_stream.hide_all(@to_hide)
- @to_update.each do |champ|
= fields_for champ.input_name, champ do |form|
= turbo_stream.morph champ.input_group_id do
= turbo_stream.replace champ.input_group_id do
= render EditableChamp::EditableChampComponent.new champ:, form:
= turbo_stream.remove_all(".editable-champ .spinner-removable");