1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

feat: add features counter to health report table (#2028)

This commit is contained in:
olav 2022-08-31 16:02:04 +02:00 committed by GitHub
parent e002bd5c81
commit 745a73d445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,11 +105,16 @@ export const ReportTable = ({ projectId, features }: IReportTableProps) => {
setHiddenColumns(hiddenColumns);
}, [setHiddenColumns, isSmallScreen, isMediumScreen, isExtraSmallScreen]);
const title =
rows.length < data.length
? `Feature toggles (${rows.length} of ${data.length})`
: `Feature toggles (${data.length})`;
return (
<PageContent
header={
<PageHeader
titleElement="Overview"
title={title}
actions={
<Search
initialValue={globalFilter}