0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2018-06-22 00:03:29 +10:00
Ursprung 0dab4f4964
Commit 72810b755a

Datei anzeigen

@ -126,7 +126,7 @@ class CustomWizard::Builder
params[:key] = field_template['key'] if field_template['key']
## Load previously submitted values
if @submissions.last && @wizard.unfinished?
if @submissions.last && !@submissions.last.key?("submitted_at")
submission = @submissions.last
params[:value] = submission[field_template['id']] if submission[field_template['id']]
end