Skip to content

Commit 3a7f76e

Browse files
[autofix.ci] apply automated fixes
1 parent a54c84a commit 3a7f76e

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

apps/dokploy/components/dashboard/application/logs/show.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,11 @@ export const ShowDockerLogs = ({ appName, serverId }: Props) => {
173173
</Select>
174174
{option === "swarm" &&
175175
services?.find((c) => c.containerId === containerId)?.error && (
176-
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
177-
<span className="font-medium">Error: </span>
178-
{
179-
services.find((c) => c.containerId === containerId)?.error
180-
}
181-
</div>
182-
)}
176+
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
177+
<span className="font-medium">Error: </span>
178+
{services.find((c) => c.containerId === containerId)?.error}
179+
</div>
180+
)}
183181
<DockerLogs
184182
serverId={serverId || ""}
185183
containerId={containerId || "select-a-container"}

apps/dokploy/components/dashboard/compose/logs/show-stack.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ export const ShowDockerLogsStack = ({ appName, serverId }: Props) => {
158158
</Select>
159159
{option === "swarm" &&
160160
services?.find((c) => c.containerId === containerId)?.error && (
161-
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
162-
<span className="font-medium">Error: </span>
163-
{services.find((c) => c.containerId === containerId)?.error}
164-
</div>
165-
)}
161+
<div className="rounded-md bg-destructive/10 border border-destructive/20 px-3 py-2 text-sm text-destructive">
162+
<span className="font-medium">Error: </span>
163+
{services.find((c) => c.containerId === containerId)?.error}
164+
</div>
165+
)}
166166
<DockerLogs
167167
serverId={serverId || ""}
168168
containerId={containerId || "select-a-container"}

0 commit comments

Comments
 (0)