mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
feat: add count to tag types list (#2023)
This commit is contained in:
parent
101e9103ae
commit
4536fdd817
@ -183,13 +183,12 @@ export const TagTypeList = () => {
|
||||
setToastApiError(formatUnknownError(error));
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<PageContent
|
||||
isLoading={loading}
|
||||
header={
|
||||
<PageHeader
|
||||
title="Tag types"
|
||||
title={`Tag types (${rows.length})`}
|
||||
actions={
|
||||
<>
|
||||
<Search
|
||||
|
@ -25,7 +25,7 @@ exports[`renders an empty list correctly 1`] = `
|
||||
<h1
|
||||
className="MuiTypography-root MuiTypography-h1 css-ypmm1t-MuiTypography-root-headerTitle"
|
||||
>
|
||||
Tag types
|
||||
Tag types (5)
|
||||
</h1>
|
||||
</div>
|
||||
<div
|
||||
@ -1096,7 +1096,7 @@ exports[`renders an empty list correctly 1`] = `
|
||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||
role="status"
|
||||
>
|
||||
Navigated to Tag types
|
||||
Navigated to Tag types (5)
|
||||
</div>,
|
||||
]
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user