Skip to content

Commit

Permalink
Make comparison less strict (#2836)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdegraaf authored Mar 28, 2024
1 parent 435303e commit 8b790b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8b790b0

Please sign in to comment.