Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
Stop reduce returning nil
Dieser Commit ist enthalten in:
Ursprung
26302cbad1
Commit
a295f6fe20
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
|
@ -132,6 +132,7 @@ class CustomWizard::Wizard
|
||||||
name = data['name']
|
name = data['name']
|
||||||
wizard = CustomWizard::Wizard.new(user, id: id, name: name)
|
wizard = CustomWizard::Wizard.new(user, id: id, name: name)
|
||||||
result.push(id: id, name: name) if !wizard.completed?
|
result.push(id: id, name: name) if !wizard.completed?
|
||||||
|
result
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
|
|
Laden …
In neuem Issue referenzieren