Skip to content

Commit

Permalink
fix: Provide a selection manager component (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Feb 20, 2025
1 parent f7e151f commit c8bf244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion map/client/components/selection/KSelectedLayerFeatures.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ onBeforeMount(() => {
})
// Cleanup on destroy
onBeforeUnmount(() => {
CurrentActivity.value.setHighlightMode('highlightable-layers')
// Activity might have been cleared already
if (CurrentActivity.value) CurrentActivity.value.setHighlightMode('highlightable-layers')
})
</script>

0 comments on commit c8bf244

Please sign in to comment.