Skip to content

Commit

Permalink
overrideByName causes legend to omit shields
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua authored and Joshua committed Dec 31, 2024
1 parent 9bb8e0c commit 6be58c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/legend_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export default class LegendControl {
let images = imagesByNetwork[network];
if (!images) return [];
return [
images.noRef,
Object.values(images.overridesByName).length > 0 ? "" : images.noRef,
images.ref,
...Object.values(images.overridesByRef),
...Object.values(images.overridesByName), // Add overrides by name
Expand Down

0 comments on commit 6be58c7

Please sign in to comment.