1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: add count for strategy types list (#2021)

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

View File

@ -283,12 +283,14 @@ export const StrategiesList = () => {
})); }));
}; };
let strategyTypeCount = rows.length;
return ( return (
<PageContent <PageContent
isLoading={loading} isLoading={loading}
header={ header={
<PageHeader <PageHeader
title="Strategy types" title={`Strategy types (${strategyTypeCount})`}
actions={ actions={
<> <>
<Search <Search