Skip to content

Commit

Permalink
fix(legend): fix legend image url
Browse files Browse the repository at this point in the history
  • Loading branch information
pwambach committed Sep 10, 2020
1 parent b6018d9 commit a4fbef6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const LayerLegend: FunctionComponent<Props> = ({
const imageUrlTemplate =
isElectron() && isOffline()
? getOfflineLegendImageUrl()
: config.api.layerIcon;
: config.legendImage;
const imageUrl = replaceUrlPlaceholders(imageUrlTemplate, {id});

return (
Expand Down

0 comments on commit a4fbef6

Please sign in to comment.