gpt-engineer-app[bot] commited on
Commit ·
f2175ef
1
Parent(s): 4811ac3
Changes
Browse files
src/routes/dashboard.index.tsx
CHANGED
|
@@ -162,15 +162,7 @@ function IncidentDetail({ incident, onRerun, onDelete }: { incident: Incident; o
|
|
| 162 |
</div>
|
| 163 |
</div>
|
| 164 |
|
| 165 |
-
{incident.status === "analyzing" &&
|
| 166 |
-
<div className="rounded-xl border border-primary/30 bg-primary/5 p-6 flex items-center gap-3">
|
| 167 |
-
<Loader2 className="h-5 w-5 animate-spin text-primary" />
|
| 168 |
-
<div>
|
| 169 |
-
<p className="font-medium text-sm">Multi-agent analysis in progress…</p>
|
| 170 |
-
<p className="text-xs text-muted-foreground">Event → Safety → Risk → Documentation</p>
|
| 171 |
-
</div>
|
| 172 |
-
</div>
|
| 173 |
-
)}
|
| 174 |
|
| 175 |
{incident.status === "failed" && (
|
| 176 |
<div className="rounded-xl border border-destructive/40 bg-destructive/10 p-6">
|
|
|
|
| 162 |
</div>
|
| 163 |
</div>
|
| 164 |
|
| 165 |
+
{incident.status === "analyzing" && <AgentPipeline />}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
|
| 167 |
{incident.status === "failed" && (
|
| 168 |
<div className="rounded-xl border border-destructive/40 bg-destructive/10 p-6">
|