mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-01 01:18:10 +02:00
feat: add application counter to application list (#2019)
This commit is contained in:
parent
4536fdd817
commit
2de4114b76
@ -59,12 +59,17 @@ export const ApplicationList = () => {
|
|||||||
return <CircularProgress variant="indeterminate" />;
|
return <CircularProgress variant="indeterminate" />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let applicationCount =
|
||||||
|
filteredApplications.length < applications.length
|
||||||
|
? `${filteredApplications.length} of ${applications.length}`
|
||||||
|
: applications.length;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageContent
|
<PageContent
|
||||||
header={
|
header={
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title="Applications"
|
title={`Applications (${applicationCount})`}
|
||||||
actions={
|
actions={
|
||||||
<Search
|
<Search
|
||||||
initialValue={searchValue}
|
initialValue={searchValue}
|
||||||
|
Loading…
Reference in New Issue
Block a user