We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7e151f commit c8bf244Copy full SHA for c8bf244
map/client/components/selection/KSelectedLayerFeatures.vue
@@ -289,6 +289,7 @@ onBeforeMount(() => {
289
})
290
// Cleanup on destroy
291
onBeforeUnmount(() => {
292
- CurrentActivity.value.setHighlightMode('highlightable-layers')
+ // Activity might have been cleared already
293
+ if (CurrentActivity.value) CurrentActivity.value.setHighlightMode('highlightable-layers')
294
295
</script>
0 commit comments