Fix channels on:click handler (#412)

Signed-off-by: Ilya Sumbatyants <ilya.sumb@gmail.com>
This commit is contained in:
Ilya Sumbatyants 2021-11-29 18:06:50 +07:00 committed by GitHub
parent 3653d63c06
commit 4c6b0a9ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>