diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 66e2276..fbd7051 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -21,15 +21,17 @@ :aria-label="messageWorlds" :aria-expanded="mapsVisible" @keydown="handleMapsKeydown"> - @@ -73,6 +75,8 @@ export default defineComponent({ messageWorlds = computed(() => store.state.messages.worldsHeading), messagePlayers = computed(() => store.state.messages.playersHeading), + playerMakersEnabled = computed(() => !!store.state.components.playerMarkers), + playersVisible = computed(() => currentlyVisible.value.has('players')), mapsVisible = computed(() => currentlyVisible.value.has('maps')), followVisible = computed(() => { @@ -128,6 +132,7 @@ export default defineComponent({ playersVisible, mapsVisible, followVisible, + playerMakersEnabled, handleSidebarKeydown, handleMapsKeydown,