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:
parent
4536fdd817
commit
2de4114b76
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user