From 747b39ca883cfaa4190dd7b45642588533418b2f Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Wed, 8 Feb 2023 20:03:34 +0600 Subject: [PATCH] Show empty groups without category fix (#2605) Signed-off-by: Denis Bykhov --- plugins/view-resources/src/viewOptions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/view-resources/src/viewOptions.ts b/plugins/view-resources/src/viewOptions.ts index 55c2e12adb..9efa094936 100644 --- a/plugins/view-resources/src/viewOptions.ts +++ b/plugins/view-resources/src/viewOptions.ts @@ -93,6 +93,7 @@ export async function showEmptyGroups ( ): Promise { 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)