From de148f97731a9ca38e30d4c3f6b2c2beb564cd15 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Thu, 27 Aug 2026 12:32:10 -0700 Subject: [PATCH] add pagespeed table to redux state --- client/src/Features/UI/uiSlice.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/client/src/Features/UI/uiSlice.ts b/client/src/Features/UI/uiSlice.ts index be54eead8..f759b2957 100644 --- a/client/src/Features/UI/uiSlice.ts +++ b/client/src/Features/UI/uiSlice.ts @@ -2,7 +2,13 @@ import { createSlice, type PayloadAction } from "@reduxjs/toolkit"; type ThemeMode = "light" | "dark"; type ChartType = "histogram" | "line"; -type TableName = "monitors" | "team" | "maintenance" | "infrastructure" | "logs"; +type TableName = + | "monitors" + | "team" + | "maintenance" + | "infrastructure" + | "logs" + | "pagespeed"; interface TableState { rowsPerPage: number; @@ -14,6 +20,7 @@ interface SidebarState { interface UIState { monitors: TableState; + pagespeed: TableState; team: TableState; maintenance: TableState; infrastructure: TableState; @@ -37,6 +44,9 @@ const initialState: UIState = { monitors: { rowsPerPage: 10, }, + pagespeed: { + rowsPerPage: 10, + }, team: { rowsPerPage: 5, },