diff --git a/src/signals/incident/components/form/MapSelectors/Asset/Selector/WfsLayer/AssetLayer/AssetLayer.tsx b/src/signals/incident/components/form/MapSelectors/Asset/Selector/WfsLayer/AssetLayer/AssetLayer.tsx index 209a8bbbe2..0f9c19597c 100644 --- a/src/signals/incident/components/form/MapSelectors/Asset/Selector/WfsLayer/AssetLayer/AssetLayer.tsx +++ b/src/signals/incident/components/form/MapSelectors/Asset/Selector/WfsLayer/AssetLayer/AssetLayer.tsx @@ -52,7 +52,7 @@ export const AssetLayer: FC = () => { const { description, typeValue, idField } = featureType const id = feature.properties[idField] || '' - const isSelected = Boolean(selection?.find((item) => item.id === id)) + const isSelected = Boolean(selection?.find((item) => item.id == id)) const iconUrl = isSelected ? '/assets/images/feature-selected-marker.svg'