Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
bugfix
Dieser Commit ist enthalten in:
Ursprung
5d8dce986d
Commit
b8a78de4c3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -61,7 +61,7 @@ class CustomWizard::Builder
|
||||||
params[:value] = submission[f['id']] if submission[f['id']]
|
params[:value] = submission[f['id']] if submission[f['id']]
|
||||||
end
|
end
|
||||||
|
|
||||||
if s['actions'].any?
|
if s['actions'] && s['actions'].any?
|
||||||
profile_actions = s['actions'].select { |a| a['type'] === 'update_profile' }
|
profile_actions = s['actions'].select { |a| a['type'] === 'update_profile' }
|
||||||
if profile_actions.any?
|
if profile_actions.any?
|
||||||
profile_actions.each do |action|
|
profile_actions.each do |action|
|
||||||
|
|
Laden …
In neuem Issue referenzieren