Skip to content

Commit f47ca57

Browse files
committed
PB-é064: refactor change layers on topic change
1 parent 6392813 commit f47ca57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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=') || window.location.hash.includes('bgLayer=')),
45+
changeLayersOnTopicChange: !window.location.hash.includes('layers=') && !window.location.hash.includes('bgLayer='),
4646
},
4747
dispatcher
4848
)

0 commit comments

Comments
 (0)