diff --git a/client/src/Features/UI/uiSlice.ts b/client/src/Features/UI/uiSlice.ts index 116b25d26..d2a039f04 100644 --- a/client/src/Features/UI/uiSlice.ts +++ b/client/src/Features/UI/uiSlice.ts @@ -10,6 +10,7 @@ type ThemeMode = "light" | "dark"; type ChartType = "histogram" | "line"; type TableName = + | "dashboard" | "monitors" | "team" | "maintenance" @@ -29,6 +30,7 @@ interface SidebarState { } interface UIState { + dashboard: TableState; monitors: TableState; pagespeed: TableState; team: TableState; @@ -54,6 +56,9 @@ const initialMode: ThemeMode = window?.matchMedia?.("(prefers-color-scheme: dark : "light"; const initialState: UIState = { + dashboard: { + rowsPerPage: 100, + }, monitors: { rowsPerPage: 10, }, diff --git a/client/src/Pages/Dashboard/index.tsx b/client/src/Pages/Dashboard/index.tsx index fac8d15fc..d41827fef 100644 --- a/client/src/Pages/Dashboard/index.tsx +++ b/client/src/Pages/Dashboard/index.tsx @@ -34,7 +34,7 @@ const Dashboard = () => { types: [...MonitorTypes], checksLimit: 1, refreshInterval: 30000, - rowsPerPageTable: "monitors", + rowsPerPageTable: "dashboard", rowsPerPageDefault: 100, });