Skip to content

Commit

Permalink
[rubyforgood#5777] Ensure progress bar persists after validation
Browse files Browse the repository at this point in the history
  • Loading branch information
priyapower committed Jul 16, 2024
1 parent ef7343a commit e3a8f4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/case_contacts/form_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def show

def update
authorize @case_contact
@page = wizard_steps.index(step) + 1
@total_pages = steps.count
params[:case_contact][:status] = step.to_s if !@case_contact.active?
remove_unwanted_contact_types
remove_nil_draft_ids
Expand Down

0 comments on commit e3a8f4b

Please sign in to comment.