Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
Update check
Dieser Commit ist enthalten in:
Ursprung
0dab4f4964
Commit
72810b755a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -126,7 +126,7 @@ class CustomWizard::Builder
|
||||||
params[:key] = field_template['key'] if field_template['key']
|
params[:key] = field_template['key'] if field_template['key']
|
||||||
|
|
||||||
## Load previously submitted values
|
## Load previously submitted values
|
||||||
if @submissions.last && @wizard.unfinished?
|
if @submissions.last && !@submissions.last.key?("submitted_at")
|
||||||
submission = @submissions.last
|
submission = @submissions.last
|
||||||
params[:value] = submission[field_template['id']] if submission[field_template['id']]
|
params[:value] = submission[field_template['id']] if submission[field_template['id']]
|
||||||
end
|
end
|
||||||
|
|
Laden …
In neuem Issue referenzieren