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

Update wizard.rb

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-03 12:10:52 +11:00
Ursprung 335e69e53b
Commit 666c4f1eb4

Datei anzeigen

@ -182,7 +182,7 @@ class CustomWizard::Wizard
if (records = filter_records('prompt_completion')).any?
records.reduce([]) do |result, record|
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
end
else