1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-31 13:47:02 +02:00

feat: add count to tag types list (#2023)

This commit is contained in:
Christopher Kolstad 2022-08-31 16:09:36 +02:00 committed by GitHub
parent 101e9103ae
commit 4536fdd817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -183,13 +183,12 @@ export const TagTypeList = () => {
setToastApiError(formatUnknownError(error)); setToastApiError(formatUnknownError(error));
} }
}; };
return ( return (
<PageContent <PageContent
isLoading={loading} isLoading={loading}
header={ header={
<PageHeader <PageHeader
title="Tag types" title={`Tag types (${rows.length})`}
actions={ actions={
<> <>
<Search <Search

View File

@ -25,7 +25,7 @@ exports[`renders an empty list correctly 1`] = `
<h1 <h1
className="MuiTypography-root MuiTypography-h1 css-ypmm1t-MuiTypography-root-headerTitle" className="MuiTypography-root MuiTypography-h1 css-ypmm1t-MuiTypography-root-headerTitle"
> >
Tag types Tag types (5)
</h1> </h1>
</div> </div>
<div <div
@ -1096,7 +1096,7 @@ exports[`renders an empty list correctly 1`] = `
data-testid="ANNOUNCER_ELEMENT_TEST_ID" data-testid="ANNOUNCER_ELEMENT_TEST_ID"
role="status" role="status"
> >
Navigated to Tag types Navigated to Tag types (5)
</div>, </div>,
] ]
`; `;