mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 05:55:09 +02:00
Update EditChannel panel, Attributes (#1735)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
async function onSpaceEdit (): Promise<void> {
|
||||
if (space === undefined) return
|
||||
const editor = await getEditor(space._class)
|
||||
showPanel(editor ?? plugin.component.SpacePanel, space._id, space._class, 'right')
|
||||
showPanel(editor ?? plugin.component.SpacePanel, space._id, space._class, 'content')
|
||||
}
|
||||
|
||||
function updateViewlets (viewlets: WithLookup<Viewlet>[]) {
|
||||
|
||||
@@ -60,12 +60,14 @@
|
||||
}}
|
||||
>
|
||||
<svelte:fragment slot="title">
|
||||
<div class="antiTitle icon-wrapper">
|
||||
<div class="wrapped-icon">
|
||||
{#if clazz.icon}<Icon icon={clazz.icon} size={'medium'} />{/if}
|
||||
{#if clazz}
|
||||
<div class="antiTitle icon-wrapper">
|
||||
<div class="wrapped-icon">
|
||||
{#if clazz.icon}<Icon icon={clazz.icon} size={'medium'} />{/if}
|
||||
</div>
|
||||
<span class="wrapped-title"><Label label={clazz.label} /></span>
|
||||
</div>
|
||||
<span class="wrapped-title"><Label label={clazz.label} /></span>
|
||||
</div>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
|
||||
<Scroller>
|
||||
|
||||
Reference in New Issue
Block a user