mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-30 03:39:39 +02:00
UBERF-5986: Upgrade fixes (#4957)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -42,8 +42,10 @@
|
||||
}
|
||||
function getArrayName (type: Type<any>): IntlString | undefined {
|
||||
const ref = (type as ArrOf<any>).of
|
||||
const res = client.getHierarchy().getClass((ref as RefTo<Doc>).to)
|
||||
return res?.label
|
||||
if (client.getHierarchy().hasClass((ref as RefTo<Doc>).to)) {
|
||||
const res = client.getHierarchy().getClass((ref as RefTo<Doc>).to)
|
||||
return res?.label
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user