mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
Fix query clone respect mixins (#1631)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
const typeClass = hierarchy.getClass(typeClassId)
|
||||
const editorMixin = hierarchy.as(typeClass, view.mixin.AttributeEditor)
|
||||
editor = getResource(editorMixin.editor).catch((cause) => {
|
||||
console.error('failed to find editor for', _class, attribute, typeClassId)
|
||||
console.error(`failed to find editor for ${_class} ${attribute} ${typeClassId} cause: ${cause}`)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,13 @@
|
||||
<div class="ac-header__icon"><Avatar size={'medium'} /></div>
|
||||
<span class="ac-header__title">{name}</span>
|
||||
</div>
|
||||
<ActionIcon icon={IconClose} size={'medium'} action={() => dispatch('close')} />
|
||||
<ActionIcon
|
||||
icon={IconClose}
|
||||
size={'medium'}
|
||||
action={(_) => {
|
||||
dispatch('close')
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{#if contentType && contentType.startsWith('image/')}
|
||||
|
||||
Reference in New Issue
Block a user