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)