mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +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));
|
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
|
||||||
|
@ -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>,
|
||||||
]
|
]
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user