mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-23 18:15:03 +02:00
TSK-840. Fixed focusing in the menu (#2770)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user