Skip to content

Commit 3169c08

Browse files
committed
BUGFIX: assignment does not need mapping
1 parent 1a2f8f1 commit 3169c08

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/custom_wizard/builder.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,6 @@ def append_field(step, step_template, field_template, build_opts)
154154
end
155155
end
156156

157-
if content[:type] == 'assignment' && field_template['type'] === 'dropdown'
158-
content[:result] = content[:result].map do |item|
159-
{
160-
id: item,
161-
name: item
162-
}
163-
end
164-
end
165-
166157
params[:content] = content[:result]
167158
end
168159
end

0 commit comments

Comments
 (0)