Skip to content

Commit

Permalink
dashboard structure view
Browse files Browse the repository at this point in the history
  • Loading branch information
trevlenb2 committed Jul 16, 2024
1 parent a395d5d commit 8387f50
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ const MapViewDetail = React.forwardRef<any, Props>(
['get', 'statusColor'],
['get', 'evaluatedColor']
],
'fill-opacity': opacity.current
'fill-opacity':
data.features.length && data.features[0].properties.geographicLevel === 'structure'
? 1
: opacity.current
}
},
'label-layer'
Expand Down

0 comments on commit 8387f50

Please sign in to comment.