mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
fix(web/sla): violator link points to /sessions/{id} not /session/{tenant}/{id}
The violator table on /sla linked to /session/${tenantId}/${sessionId},
which 404s — the canonical route is /sessions/[sessionId] (single
segment, plural). Same convention as /diagnosis, /admin and the
inspector. Restores navigation and makes sla_violator_opened actually
fire.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -452,7 +452,7 @@ export default function SlaPage() {
|
||||
<tr key={v.sessionId} className="hover:bg-gray-50 dark:hover:bg-gray-750">
|
||||
<td className="px-6 py-4 whitespace-nowrap">
|
||||
<Link
|
||||
href={`/session/${v.tenantId}/${v.sessionId}`}
|
||||
href={`/sessions/${v.sessionId}`}
|
||||
onClick={() => trackEvent('sla_violator_opened', {
|
||||
sessionId: v.sessionId,
|
||||
tenantId: v.tenantId,
|
||||
|
||||
Reference in New Issue
Block a user