diff --git a/public/index.html b/public/index.html index cb143f0..cd38a1d 100644 --- a/public/index.html +++ b/public/index.html @@ -2304,6 +2304,8 @@ const amenities = normalizeTextList(selectedPoint?.amenities || opt.automationInsights?.amenities); const inclusions = normalizeTextList(selectedPoint?.inclusions || opt.automationInsights?.inclusions); const limitations = normalizeTextList(selectedPoint?.limitations || opt.automationInsights?.limitations); + const includedComponents = normalizeTextList(selectedPoint?.includedComponents || opt.automationInsights?.includedComponents); + const flightsIncluded = includedComponents.some(item => /flight/i.test(item)); const sourceMetaLine = selectedMeta ? [formatSourcePrice(selectedMeta) || priceLabel, selectedMeta.pointCount ? `${selectedMeta.pointCount} point${selectedMeta.pointCount === 1 ? '' : 's'}` : ''] .filter(Boolean) @@ -2378,6 +2380,15 @@ `); } + if (opt.categoryId === 'hotel' && flightsIncluded) { + sections.push(` +