1
0
Fork 0
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|