mirror of
https://github.com/portainer/portainer.git
synced 2026-06-23 07:30:13 +00:00
fix(app/container): handle no healthcheck logs output (#2387)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user