Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
Add check so that default wizard still works
Dieser Commit ist enthalten in:
Ursprung
d14db3678a
Commit
8f9fe92849
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
|
@ -83,6 +83,10 @@ end
|
||||||
def required
|
def required
|
||||||
object.required
|
object.required
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def include_required?
|
||||||
|
object.respond_to?(:required)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
::WizardStepSerializer.class_eval do
|
::WizardStepSerializer.class_eval do
|
||||||
|
|
Laden …
In neuem Issue referenzieren