Fix scrollbar and icons. Contact: Add Open integration. (#1956)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-05-31 11:22:47 +07:00
committed by GitHub
parent 5faa41a206
commit 7479ec6ca7
12 changed files with 98 additions and 84 deletions
@@ -17,17 +17,7 @@
import core, { WithLookup } from '@anticrm/core'
import { IntlString } from '@anticrm/platform'
import presentation, { createQuery, getClient } from '@anticrm/presentation'
import {
ActionIcon,
AnyComponent,
showPanel,
Button,
Icon,
SearchEdit,
showPopup,
Tooltip,
IconAdd
} from '@anticrm/ui'
import { AnyComponent, showPanel, Button, Icon, SearchEdit, showPopup, Tooltip, IconAdd } from '@anticrm/ui'
import view, { Viewlet } from '@anticrm/view'
import { ViewletSetting } from '@anticrm/view-resources'
import { createEventDispatcher } from 'svelte'
@@ -87,7 +77,7 @@
}
</script>
<div class="ac-header full">
<div class="ac-header full withSettings">
{#if space}
<Header
icon={classIcon(client, space._class)}
@@ -126,14 +116,15 @@
<Button icon={IconAdd} label={createItemLabel} kind={'primary'} on:click={(ev) => showCreateDialog(ev)} />
{/if}
{#if viewlet}
<ActionIcon
icon={view.icon.Setting}
size={'small'}
label={view.string.CustomizeView}
action={() => {
showPopup(ViewletSetting, { viewlet })
}}
/>
<Tooltip label={view.string.CustomizeView}>
<Button
icon={view.icon.Setting}
kind={'transparent'}
on:click={() => {
showPopup(ViewletSetting, { viewlet })
}}
/>
</Tooltip>
{/if}
{/if}
</div>