Skip to content

Commit a1cccff

Browse files
committed
PB-2064: fix footer test
1 parent 9e6d8d7 commit a1cccff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/viewer/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ onMounted(() => {
4242
// initial load of layers config
4343
layersStore.loadLayersConfig(
4444
{
45-
changeLayersOnTopicChange: !window.location.hash.includes('layers='),
45+
changeLayersOnTopicChange: !(window.location.hash.includes('layers=') || window.location.hash.includes('bgLayer=')),
4646
},
4747
dispatcher
4848
)

packages/viewer/src/modules/map/components/footer/backgroundSelector/BackgroundSelectorSquared.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const { show, animate, getImageForBackgroundLayer, toggleShowSelector, onSelectB
6161
class="bg-selector-squared-wheel-button position-relative"
6262
:class="{ opened: show, 'text-bg-secondary': show, animate }"
6363
type="button"
64-
data-cy="background-selector-open-wheel-button"
64+
data-cy="background-selector-open-wheel-button-squared"
6565
@click="toggleShowSelector"
6666
>
6767
<FontAwesomeIcon

0 commit comments

Comments
 (0)