0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

FIX: required data check

Dieser Commit ist enthalten in:
Angus McLeod 2019-09-24 15:52:09 +08:00
Ursprung 26ce6a313b
Commit 9a3506a9d6

Datei anzeigen

@ -104,7 +104,7 @@ class CustomWizard::Builder
end end
if required_data = step_template['required_data'] if required_data = step_template['required_data']
if !@submissions.last && required_data.length if !@submissions.last && required_data.present?
step.permitted = false step.permitted = false
next next
end end