Skip to content

Commit

Permalink
fix(layerSwitcher): add url contains project-submissions then hide ol…
Browse files Browse the repository at this point in the history
…-controls
  • Loading branch information
NSUWAL123 committed Dec 3, 2024
1 parent ff0f259 commit e8c2e7e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ const LayerSwitcherControl = ({ map, visible = 'osm', pmTileLayerUrl = null }) =
location.pathname.includes('upload-area') ||
location.pathname.includes('upload-survey') ||
location.pathname.includes('map-features') ||
location.pathname.includes('split-tasks')
location.pathname.includes('split-tasks') ||
location.pathname.includes('project-submissions')
) {
const olZoom = document.querySelector('.ol-zoom');
if (olZoom) {
Expand Down

0 comments on commit e8c2e7e

Please sign in to comment.