Merge pull request #609 from hcengineering/fix-608

BuildModel fix (fix #608)
This commit is contained in:
Andrey Sobolev 2021-12-10 20:22:05 +07:00 committed by GitHub
commit ec33531e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ async function getAttributePresenter (client: Client, _class: Ref<Class<Obj>>, k
} }
const presenter = await getResource(presenterMixin.presenter) const presenter = await getResource(presenterMixin.presenter)
return { return {
key: key, key: typeof preserveKey === 'string' ? preserveKey : '',
_class: attrClass, _class: attrClass,
label: attribute.label, label: attribute.label,
presenter presenter