mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-13 15:35:17 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -173,13 +173,11 @@ export const ShowDockerLogs = ({ appName, serverId }: Props) => {
|
|||||||
</Select>
|
</Select>
|
||||||
{option === "swarm" &&
|
{option === "swarm" &&
|
||||||
services?.find((c) => c.containerId === containerId)?.error && (
|
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">
|
<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>
|
<span className="font-medium">Error: </span>
|
||||||
{
|
{services.find((c) => c.containerId === containerId)?.error}
|
||||||
services.find((c) => c.containerId === containerId)?.error
|
</div>
|
||||||
}
|
)}
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<DockerLogs
|
<DockerLogs
|
||||||
serverId={serverId || ""}
|
serverId={serverId || ""}
|
||||||
containerId={containerId || "select-a-container"}
|
containerId={containerId || "select-a-container"}
|
||||||
|
|||||||
@@ -158,11 +158,11 @@ export const ShowDockerLogsStack = ({ appName, serverId }: Props) => {
|
|||||||
</Select>
|
</Select>
|
||||||
{option === "swarm" &&
|
{option === "swarm" &&
|
||||||
services?.find((c) => c.containerId === containerId)?.error && (
|
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">
|
<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>
|
<span className="font-medium">Error: </span>
|
||||||
{services.find((c) => c.containerId === containerId)?.error}
|
{services.find((c) => c.containerId === containerId)?.error}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<DockerLogs
|
<DockerLogs
|
||||||
serverId={serverId || ""}
|
serverId={serverId || ""}
|
||||||
containerId={containerId || "select-a-container"}
|
containerId={containerId || "select-a-container"}
|
||||||
|
|||||||
Reference in New Issue
Block a user