mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-27 10:49:44 +00:00
Fix members activity (#1750)
Signed-off-by: Dvinyanin Alexandr <dvinyanin.alexandr@gmail.com>
This commit is contained in:
parent
0046274c28
commit
dec594d969
@ -153,7 +153,8 @@ export function getAttributePresenterClass (attribute: AnyAttribute): Ref<Class<
|
||||
attrClass = (attribute.type as Collection<AttachedDoc>).of
|
||||
}
|
||||
if (attrClass === core.class.ArrOf) {
|
||||
attrClass = (attribute.type as ArrOf<AttachedDoc>).of._class
|
||||
const of = (attribute.type as ArrOf<AttachedDoc>).of
|
||||
attrClass = of._class === core.class.RefTo ? (of as RefTo<Doc>).to : of._class
|
||||
}
|
||||
return attrClass
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user