0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

BUGFIX: assignment does not need mapping

Dieser Commit ist enthalten in:
Angus McLeod 2022-03-03 20:38:49 +01:00
Ursprung 1a2f8f1b76
Commit 3169c0803e

Datei anzeigen

@ -154,15 +154,6 @@ class CustomWizard::Builder
end end
end end
if content[:type] == 'assignment' && field_template['type'] === 'dropdown'
content[:result] = content[:result].map do |item|
{
id: item,
name: item
}
end
end
params[:content] = content[:result] params[:content] = content[:result]
end end
end end