Skip to content

Commit

Permalink
feat(data-viewer): show hover legend for lc hr layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Helms authored and Andreas Helms committed Mar 27, 2024
1 parent d5446f4 commit 8c354b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/main/data-viewer/data-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const DataViewer: FunctionComponent<Props> = ({
return null;
}

return id === 'land_cover.lccs_class' ? (
return (id === 'land_cover.lccs_class' || id === 'land_cover.class') ? (
<HoverLegend
key={id}
values={legendValues as LegendValueColor[]}
Expand Down

0 comments on commit 8c354b4

Please sign in to comment.