Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: workspace id (#544)
Maximilian Kaske7eb208ed2a87
diff --git a/apps/web/src/app/status-page/[domain]/layout.tsx b/apps/web/src/app/status-page/[domain]/layout.tsxindex e03fb098f..835eb8fe5 100644--- a/apps/web/src/app/status-page/[domain]/layout.tsx+++ b/apps/web/src/app/status-page/[domain]/layout.tsx@@ -50,8 +50,7 @@ export default async function StatusPageLayout({ children, params }: Props) {width={28}src={page.icon}alt={page.title}- objectFit="cover"- className="rounded-full"+ className="object-cover"/></div>) : null}diff --git a/apps/web/src/components/tracker.tsx b/apps/web/src/components/tracker.tsxindex 188d2fbd4..301c46cca 100644--- a/apps/web/src/components/tracker.tsx+++ b/apps/web/src/components/tracker.tsx@@ -202,6 +202,7 @@ const Bar = ({{reports?.map((report) => (<li key={report.id} className="text-muted-foreground text-sm"><Link+ // TODO: include setPrefixUrl for local developmenthref={`./incidents/${report.id}`}className="hover:text-foreground group flex items-center justify-between gap-2">diff --git a/packages/api/src/router/statusReport.ts b/packages/api/src/router/statusReport.tsindex 6e66fc5f4..9b43f0136 100644--- a/packages/api/src/router/statusReport.ts+++ b/packages/api/src/router/statusReport.ts@@ -398,7 +398,7 @@ export const statusReportRouter = createTRPCRouter({const _statusReport = await opts.ctx.db.query.statusReport.findFirst({where: and(eq(statusReport.id, opts.input.id),- eq(statusReport.workspaceId, result.id),+ eq(statusReport.workspaceId, result.workspaceId),),with: {monitorsToStatusReports: { with: { monitor: true } },