TSK-840. Fixed focusing in the menu (#2770)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2023-03-20 15:15:41 +06:00
committed by GitHub
parent 9460e7a406
commit 6bdc76351a
8 changed files with 60 additions and 20 deletions
@@ -25,6 +25,7 @@
export let currentSpace: Ref<Space> | undefined
export let currentSpecial: string | undefined
export let getActions: Function
export let deselect: boolean = false
</script>
{#if model.specials}
@@ -35,7 +36,7 @@
indent={'ml-4'}
label={special.label}
icon={special.icon}
selected={currentSpace === space._id && special.id === currentSpecial}
selected={deselect ? false : currentSpace === space._id && special.id === currentSpecial}
/>
</NavLink>
{/each}