mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 22:15:04 +02:00
Card fixes (#8433)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -454,6 +454,7 @@
|
||||
value={getValue(attribute, object)}
|
||||
onChange={getOnChange(object, attribute)}
|
||||
label={attribute.label}
|
||||
attribute={attribute.attribute}
|
||||
{...joinProps(attribute, object, readonly || $restrictionStore.readonly)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import core, { AnyAttribute, ArrOf, Class, Doc, Ref, RefTo, Space, Type } from '@hcengineering/core'
|
||||
import core, { AnyAttribute, ArrOf, Class, ClassifierKind, Doc, Ref, RefTo, Space, Type } from '@hcengineering/core'
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import { Label, Scroller, Submenu, closePopup, closeTooltip, resizeObserver, showPopup } from '@hcengineering/ui'
|
||||
import { ClassFilters, Filter, KeyFilter, KeyFilterPreset, ViewOptions } from '@hcengineering/view'
|
||||
@@ -145,6 +145,8 @@
|
||||
|
||||
const desc = hierarchy.getDescendants(_class)
|
||||
for (const d of desc) {
|
||||
const cl = hierarchy.findClass(d)
|
||||
if (cl?.kind !== ClassifierKind.MIXIN) continue
|
||||
const extra = hierarchy.getOwnAttributes(d)
|
||||
for (const [k, v] of extra) {
|
||||
if (!allAttributes.has(k)) {
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
kind={'list'}
|
||||
{compactMode}
|
||||
label={attributeModel.label}
|
||||
attribute={attributeModel.attribute}
|
||||
{...joinProps(attributeModel, docObject, props, $restrictionStore.readonly)}
|
||||
on:resize={translateSize}
|
||||
/>
|
||||
@@ -77,6 +78,7 @@
|
||||
kind={'list'}
|
||||
label={attributeModel.label}
|
||||
{compactMode}
|
||||
attribute={attributeModel.attribute}
|
||||
{...joinProps(attributeModel, docObject, props, $restrictionStore.readonly)}
|
||||
on:resize={translateSize}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user