Skip to content

Commit

Permalink
chore(search): don't index on autosave
Browse files Browse the repository at this point in the history
  • Loading branch information
colinux committed Jun 13, 2024
1 parent 069cb04 commit e283f2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/users/dossiers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ def update
@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
Expand Down

0 comments on commit e283f2d

Please sign in to comment.