Merge pull request #10516 from colinux/dossier-not-index-autosave

Tech: n'indexe plus les dossiers en autosave
This commit is contained in:
Colin Darie 2024-06-13 13:21:09 +00:00 committed by GitHub
commit 29e9268175
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,7 +304,6 @@ module Users
@dossier = dossier_with_champs(pj_template: false) @dossier = dossier_with_champs(pj_template: false)
@can_passer_en_construction_was = @dossier.can_passer_en_construction? @can_passer_en_construction_was = @dossier.can_passer_en_construction?
update_dossier_and_compute_errors update_dossier_and_compute_errors
@dossier.index_search_terms_later if @dossier.errors.empty?
@can_passer_en_construction_is = @dossier.can_passer_en_construction? @can_passer_en_construction_is = @dossier.can_passer_en_construction?
respond_to do |format| respond_to do |format|
format.turbo_stream do format.turbo_stream do