mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
feat: add count to project role list (#2037)
* feat: add count to project role list
This commit is contained in:
parent
a7a4a743bc
commit
3d40d0d6db
@ -182,12 +182,16 @@ const ProjectRoleList = () => {
|
||||
setHiddenColumns(hiddenColumns);
|
||||
}, [setHiddenColumns, isExtraSmallScreen]);
|
||||
|
||||
let count =
|
||||
data.length < rows.length
|
||||
? `(${data.length} of ${rows.length})`
|
||||
: `(${rows.length})`;
|
||||
return (
|
||||
<PageContent
|
||||
isLoading={loading}
|
||||
header={
|
||||
<PageHeader
|
||||
title="Project roles"
|
||||
title={`Project roles ${count}`}
|
||||
actions={
|
||||
<>
|
||||
<Search
|
||||
|
Loading…
Reference in New Issue
Block a user