Skip to content

Commit

Permalink
refactor: hide when in debug mode only
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Sep 16, 2024
1 parent 710329c commit 68e0c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/landing/src/components/map.label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class MapLabelControl implements IControl {
// Most vector styles have overlaps with the labels and make them useless
if (Config.map.style && LabelsDisabledLayers.has(Config.map.style)) return true;
// Labels use the merge style feature and need the production configuration to work
if (Config.map.config) return true;
if (Config.map.isDebug && Config.map.config) return true;

return false;
}
Expand Down

0 comments on commit 68e0c99

Please sign in to comment.