Skip to content

Commit c8bf244

Browse files
committed
fix: Provide a selection manager component (#1098)
1 parent f7e151f commit c8bf244

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

map/client/components/selection/KSelectedLayerFeatures.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ onBeforeMount(() => {
289289
})
290290
// Cleanup on destroy
291291
onBeforeUnmount(() => {
292-
CurrentActivity.value.setHighlightMode('highlightable-layers')
292+
// Activity might have been cleared already
293+
if (CurrentActivity.value) CurrentActivity.value.setHighlightMode('highlightable-layers')
293294
})
294295
</script>

0 commit comments

Comments
 (0)