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

feat add count to Environments (#2022)

This commit is contained in:
Christopher Kolstad 2022-08-31 15:17:28 +02:00 committed by GitHub
parent b827056f51
commit 80a0ab26ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,8 +80,10 @@ export const EnvironmentTable = () => {
<CreateEnvironmentButton />
</>
);
const header = <PageHeader title="Environments" actions={headerActions} />;
let count = rows.length;
const header = (
<PageHeader title={`Environments (${count})`} actions={headerActions} />
);
return (
<PageContent header={header}>