···99import { api } from "@/trpc/server";
1010import { Separator } from "@openstatus/ui";
11111212+/**
1313+ * Right now, we do not allow workspaces to have a custom lookback period.
1414+ * If we decide to allow this in the future, we should move this to the database.
1515+ */
1616+const WORKSPACES =
1717+ process.env.WORKSPACES_LOOKBACK_30?.split(",").map(Number) || [];
1818+1219type Props = {
1320 params: { domain: string };
1421 searchParams: { [key: string]: string | string[] | undefined };
···4956 incidents={page.incidents}
5057 maintenances={page.maintenances}
5158 showMonitorValues={!!page.showMonitorValues}
5959+ totalDays={WORKSPACES.includes(page.workspaceId) ? 30 : 45}
5260 />
5361 ) : (
5462 <EmptyState