1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: add application counter to application list (#2019)

This commit is contained in:
Christopher Kolstad 2022-08-31 16:10:01 +02:00 committed by GitHub
parent 4536fdd817
commit 2de4114b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,12 +59,17 @@ export const ApplicationList = () => {
return <CircularProgress variant="indeterminate" />;
}
let applicationCount =
filteredApplications.length < applications.length
? `${filteredApplications.length} of ${applications.length}`
: applications.length;
return (
<>
<PageContent
header={
<PageHeader
title="Applications"
title={`Applications (${applicationCount})`}
actions={
<Search
initialValue={searchValue}