mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-26 05:14:39 +00:00
Fix channels on:click handler (#412)
Signed-off-by: Ilya Sumbatyants <ilya.sumb@gmail.com>
This commit is contained in:
parent
3653d63c06
commit
4c6b0a9ce1
@ -78,11 +78,12 @@
|
||||
class:safari-gap-1={size === 'small'}
|
||||
class:safari-gap-2={size !== 'small'}
|
||||
class:reverse
|
||||
on:click|stopPropagation={() => {}}
|
||||
>
|
||||
{#each displayItems as item}
|
||||
<div on:click|stopPropagation={() => { dispatch('click', item) }}>
|
||||
<Tooltip component={ChannelsPopup} props={{ value: item }} label={undefined} anchor={divHTML}>
|
||||
<CircleButton icon={item.icon} {size} />
|
||||
</Tooltip>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user