diff --git a/sites/geohub/src/components/pages/map/layers/LayerTemplate.svelte b/sites/geohub/src/components/pages/map/layers/LayerTemplate.svelte index 64c58d1021..dbc90da24d 100644 --- a/sites/geohub/src/components/pages/map/layers/LayerTemplate.svelte +++ b/sites/geohub/src/components/pages/map/layers/LayerTemplate.svelte @@ -35,7 +35,6 @@ const dispatch = createEventDispatcher(); export let layer: Layer; - export let hideToggleButton = false; export let showEditButton = false; if (!('isExpanded' in layer)) { @@ -164,20 +163,17 @@
{ - if (hideToggleButton) return; isExpanded = !isExpanded; }} > - {#if !hideToggleButton} -
- -
- {/if} +
+ +
-