0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2022-03-16 14:12:13 +01:00
Ursprung ea52b2779b
Commit 61928ce436

Datei anzeigen

@ -7,12 +7,12 @@ class CustomWizard::SubmissionSerializer < ApplicationSerializer
has_one :user, serializer: ::BasicUserSerializer, embed: :objects
def include_user?
object.user.present?
object.user.present?
end
def fields
@fields ||= begin
result = {}
result = {}
object.wizard.template['steps'].each do |step|
step['fields'].each do |field|