Skip to content

Commit

Permalink
Fix survey task FilterStatus image src (zooniverse#6512)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbouslog authored Dec 4, 2024
1 parent 8b2a0d7 commit 57ccf1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ export default function FilterStatus ({
onOpen={handleFilterDropOpen}
/>
{selectedCharacteristicIds.map(characteristicId => {
const characteristic = characteristics?.[characteristicId] || {}
const characteristic = characteristics?.get(characteristicId) || {}
const selectedValueId = filters?.[characteristicId] || ''
const value = characteristic.values?.[selectedValueId] || {}
const value = characteristic.values?.get(selectedValueId) || {}
const valueImageSrc = images?.get(value.image) || ''
const label = strings.get(`characteristics.${characteristicId}.values.${selectedValueId}.label`)
function clearSelection() {
Expand Down

0 comments on commit 57ccf1f

Please sign in to comment.