Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
BUGFIX: assignment does not need mapping
Dieser Commit ist enthalten in:
Ursprung
1a2f8f1b76
Commit
3169c0803e
1 geänderte Dateien mit 0 neuen und 9 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren