From 13df87ed69105f40efa8da70e567c718b60274f2 Mon Sep 17 00:00:00 2001 From: ahmadshaheer1 Date: Sun, 23 Jun 2024 15:14:24 +0430 Subject: [PATCH] chore: discard passing 'hideOnSinglePage' to diff --git a/frontend/src/container/ListAlertRules/ListAlert.tsx b/frontend/src/container/ListAlertRules/ListAlert.tsx index e53a80dfdf..2a0ccd3d79 100644 --- a/frontend/src/container/ListAlertRules/ListAlert.tsx +++ b/frontend/src/container/ListAlertRules/ListAlert.tsx @@ -358,7 +358,6 @@ function ListAlert({ allAlertRules, refetch }: ListAlertProps): JSX.Element { const paginationConfig = { defaultCurrent: Number(paginationParam) || 1, - hideOnSinglePage: true, }; return ( <> diff --git a/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx b/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx index 919e88d07e..33a4dd729b 100644 --- a/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx +++ b/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx @@ -83,7 +83,6 @@ function ServiceMetricTable({ defaultPageSize: 10, showTotal: (total: number, range: number[]): string => `${range[0]}-${range[1]} of ${total} items`, - hideOnSinglePage: true, }; return ( <> diff --git a/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx b/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx index 2ca57f7125..8b03027a16 100644 --- a/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx +++ b/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx @@ -40,7 +40,6 @@ function ServiceTraceTable({ defaultPageSize: 10, showTotal: (total: number, range: number[]): string => `${range[0]}-${range[1]} of ${total} items`, - hideOnSinglePage: true, }; return ( <> diff --git a/frontend/src/container/Trace/TraceTable/index.tsx b/frontend/src/container/Trace/TraceTable/index.tsx index a9f61f73fc..fc76b2bd79 100644 --- a/frontend/src/container/Trace/TraceTable/index.tsx +++ b/frontend/src/container/Trace/TraceTable/index.tsx @@ -215,7 +215,6 @@ function TraceTable(): JSX.Element { responsive: true, position: ['bottomLeft'], total: totalCount, - hideOnSinglePage: true, }} /> );