chore: discard passing 'hideOnSinglePage' to <ResizeTable, since already overridden

This commit is contained in:
ahmadshaheer1 2024-06-23 15:14:24 +04:30 committed by Yunus M
parent f23ceea54e
commit 13df87ed69
5 changed files with 0 additions and 5 deletions

View File

@ -423,7 +423,6 @@ function AllErrors(): JSX.Element {
current: getUpdatedOffset / 10 + 1, current: getUpdatedOffset / 10 + 1,
position: ['bottomLeft'], position: ['bottomLeft'],
total: errorCountResponse.data?.payload || 0, total: errorCountResponse.data?.payload || 0,
hideOnSinglePage: true,
}} }}
onChange={onChangeHandler} onChange={onChangeHandler}
/> />

View File

@ -358,7 +358,6 @@ function ListAlert({ allAlertRules, refetch }: ListAlertProps): JSX.Element {
const paginationConfig = { const paginationConfig = {
defaultCurrent: Number(paginationParam) || 1, defaultCurrent: Number(paginationParam) || 1,
hideOnSinglePage: true,
}; };
return ( return (
<> <>

View File

@ -83,7 +83,6 @@ function ServiceMetricTable({
defaultPageSize: 10, defaultPageSize: 10,
showTotal: (total: number, range: number[]): string => showTotal: (total: number, range: number[]): string =>
`${range[0]}-${range[1]} of ${total} items`, `${range[0]}-${range[1]} of ${total} items`,
hideOnSinglePage: true,
}; };
return ( return (
<> <>

View File

@ -40,7 +40,6 @@ function ServiceTraceTable({
defaultPageSize: 10, defaultPageSize: 10,
showTotal: (total: number, range: number[]): string => showTotal: (total: number, range: number[]): string =>
`${range[0]}-${range[1]} of ${total} items`, `${range[0]}-${range[1]} of ${total} items`,
hideOnSinglePage: true,
}; };
return ( return (
<> <>

View File

@ -215,7 +215,6 @@ function TraceTable(): JSX.Element {
responsive: true, responsive: true,
position: ['bottomLeft'], position: ['bottomLeft'],
total: totalCount, total: totalCount,
hideOnSinglePage: true,
}} }}
/> />
); );