[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-02-07 08:11:32 +00:00
committed by GitHub
parent a54c84a138
commit 3a7f76e33e
2 changed files with 10 additions and 12 deletions

View File

@@ -173,13 +173,11 @@ export const ShowDockerLogs = ({ appName, serverId }: Props) => {
</Select>
{option === "swarm" &&
services?.find((c) => c.containerId === containerId)?.error && (
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
<span className="font-medium">Error: </span>
{
services.find((c) => c.containerId === containerId)?.error
}
</div>
)}
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
<span className="font-medium">Error: </span>
{services.find((c) => c.containerId === containerId)?.error}
</div>
)}
<DockerLogs
serverId={serverId || ""}
containerId={containerId || "select-a-container"}

View File

@@ -158,11 +158,11 @@ export const ShowDockerLogsStack = ({ appName, serverId }: Props) => {
</Select>
{option === "swarm" &&
services?.find((c) => c.containerId === containerId)?.error && (
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
<span className="font-medium">Error: </span>
{services.find((c) => c.containerId === containerId)?.error}
</div>
)}
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
<span className="font-medium">Error: </span>
{services.find((c) => c.containerId === containerId)?.error}
</div>
)}
<DockerLogs
serverId={serverId || ""}
containerId={containerId || "select-a-container"}