{areas.map((id) => {
const selectedProductOption: SelectOption | undefined = fieldsCacheContainer.get('locations').get(id) as SelectOption | undefined
if (!selectedProductOption) {
return '?'
}
// will change ts in the future
let color = colors.purple
return
{selectedProductOption.label}
})}
{areas.length === 0 && {__('Select a location')}}