mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 00:37:47 +00:00
parent
bdc969d7ab
commit
c35a982619
@ -30,6 +30,7 @@
|
||||
export let value: Channel[] | null
|
||||
export let size: 'small' | 'medium' | 'large' | 'x-large' = 'large'
|
||||
export let reverse: boolean = false
|
||||
export let integration: boolean = false
|
||||
|
||||
interface Item {
|
||||
label: IntlString,
|
||||
@ -83,7 +84,7 @@
|
||||
{#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} primary={item.label === 'Telegram'} />
|
||||
<CircleButton icon={item.icon} {size} primary={item.label === 'Telegram' && integration} />
|
||||
</Tooltip>
|
||||
</div>
|
||||
{/each}
|
||||
|
@ -186,6 +186,7 @@
|
||||
position: fixed;
|
||||
// background-color: rgba(255, 255, 0, .5);
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
z-index: 10000;
|
||||
|
||||
&::after, &::before {
|
||||
|
Loading…
Reference in New Issue
Block a user