chore(search): don't index on autosave

This commit is contained in:
Colin Darie 2024-06-13 14:12:00 +02:00
parent 069cb04e17
commit e283f2d8cd
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

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