Update wizard.rb
Dieser Commit ist enthalten in:
Ursprung
335e69e53b
Commit
666c4f1eb4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -182,7 +182,7 @@ class CustomWizard::Wizard
|
||||||
if (records = filter_records('prompt_completion')).any?
|
if (records = filter_records('prompt_completion')).any?
|
||||||
records.reduce([]) do |result, record|
|
records.reduce([]) do |result, record|
|
||||||
wizard = CustomWizard::Wizard.new(user, ::JSON.parse(record.value))
|
wizard = CustomWizard::Wizard.new(user, ::JSON.parse(record.value))
|
||||||
result.push(id: id, name: name) if !wizard.completed?
|
result.push(id: wizard.id, name: wizard.name) if !wizard.completed?
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Laden …
In neuem Issue referenzieren