[FIX] website: lower case industry name in configurator

This commit converts the industry name in the configurator to lowercase
it in order to optimize the IAP placeholder cache.

task-3626875

closes odoo/odoo#145231

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Guillaume-gdi
2023-12-08 00:08:50 +00:00
parent c0ce960582
commit d2fdecd7b3
@@ -334,7 +334,7 @@ class ApplyConfiguratorScreen extends Component {
const data = {
'selected_features': selectedFeatures,
'industry_id': this.state.selectedIndustry.id,
'industry_name': this.state.selectedIndustry.label,
'industry_name': this.state.selectedIndustry.label.toLowerCase(),
'selected_palette': selectedPalette,
'theme_name': themeName,
'website_purpose': WEBSITE_PURPOSES[