Adjust to make lighthouse happier
Signed-off-by: Coderrob <rolindle@cisco.com>
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user