Skip to content

Commit

Permalink
PB-995 : move v-if to template instead of each children
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Sommer <[email protected]>
  • Loading branch information
pakb and sommerfe authored Nov 15, 2024
1 parent 529c208 commit 9e2a7b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/map/components/cesium/CesiumMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
@touchcancel="clearLongPressTimer"
@contextmenu="onContextMenu"
>
<CesiumBackgroundLayer v-if="viewerCreated" />
<CesiumVisibleLayers v-if="viewerCreated" />
<template v-if="viewerCreated">
<CesiumBackgroundLayer />
<CesiumVisibleLayers />
<template/>
<CesiumPopover
v-if="viewerCreated && showFeaturesPopover"
:coordinates="popoverCoordinates"
Expand Down

0 comments on commit 9e2a7b2

Please sign in to comment.