mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
feat: add project count to projectlist (#2017)
This commit is contained in:
parent
5d8678618e
commit
84b3777dae
@ -147,12 +147,17 @@ export const ProjectListNew = () => {
|
||||
});
|
||||
};
|
||||
|
||||
let projectCount =
|
||||
filteredProjects.length < projects.length
|
||||
? `${filteredProjects.length} of ${projects.length}`
|
||||
: projects.length;
|
||||
|
||||
return (
|
||||
<div ref={ref}>
|
||||
<PageContent
|
||||
header={
|
||||
<PageHeader
|
||||
title="Projects"
|
||||
title={`Projects (${projectCount})`}
|
||||
actions={
|
||||
<>
|
||||
<ConditionallyRender
|
||||
|
Loading…
Reference in New Issue
Block a user