fix(app/container): handle no healthcheck logs output (#2388)

This commit is contained in:
LP B
2026-04-21 23:40:03 +02:00
committed by GitHub
parent a1fa77cbe4
commit f498d76c4f
@@ -44,7 +44,7 @@ export function HealthStatus({ health }: Props) {
<div className="vertical-center">{health.FailingStreak}</div>
</DetailsTable.Row>
{!!health.Log && (
{!!health.Log?.length && (
<DetailsTable.Row label="Last output">
{health.Log[health.Log.length - 1].Output}
</DetailsTable.Row>