Adjust to make lighthouse happier

Signed-off-by: Coderrob <rolindle@cisco.com>
This commit is contained in:
Coderrob
2024-04-17 11:14:53 -05:00
parent 411853058f
commit 4039d328ae
@@ -169,9 +169,7 @@ export const CatalogTable = (props: CatalogTableProps) => {
const currentKind = filters.kind?.value || '';
const currentType = filters.type?.value || '';
const currentCount = Number.isSafeInteger(totalItems)
? `(${totalItems})`
: '';
const currentCount = typeof totalItems === 'number' ? `(${totalItems})` : '';
// TODO(timbonicus): remove the title from the CatalogTable once using EntitySearchBar
const titlePreamble = capitalize(filters.user?.value ?? 'all');
const title = [