mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 20:40:59 +00:00
Show empty groups without category fix (#2605)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
da7ea2a734
commit
747b39ca88
@ -93,6 +93,7 @@ export async function showEmptyGroups (
|
||||
): Promise<any[] | undefined> {
|
||||
const client = getClient()
|
||||
const hierarchy = client.getHierarchy()
|
||||
if (key === noCategory) return
|
||||
const attr = hierarchy.getAttribute(_class, key)
|
||||
if (attr === undefined) return
|
||||
const { attrClass } = getAttributePresenterClass(hierarchy, attr)
|
||||
|
Loading…
Reference in New Issue
Block a user