mirror of
https://github.com/dokploy/dokploy.git
synced 2026-06-13 19:09:49 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -86,9 +86,7 @@ export const ShowComposeContainers = ({
|
||||
onClick={() => refetch()}
|
||||
disabled={isPending}
|
||||
>
|
||||
<RefreshCw
|
||||
className={`h-4 w-4 ${isPending ? "animate-spin" : ""}`}
|
||||
/>
|
||||
<RefreshCw className={`h-4 w-4 ${isPending ? "animate-spin" : ""}`} />
|
||||
</Button>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -253,9 +251,7 @@ const ContainerRow = ({
|
||||
<DialogContent className="sm:max-w-7xl">
|
||||
<DialogHeader>
|
||||
<DialogTitle>View Logs</DialogTitle>
|
||||
<DialogDescription>
|
||||
Logs for {container.name}
|
||||
</DialogDescription>
|
||||
<DialogDescription>Logs for {container.name}</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="flex flex-col gap-4 pt-2.5">
|
||||
<DockerLogsId
|
||||
|
||||
+1
-3
@@ -234,9 +234,7 @@ const Service = (
|
||||
</TabsTrigger>
|
||||
)}
|
||||
{permissions?.docker.read && (
|
||||
<TabsTrigger value="containers">
|
||||
Containers
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="containers">Containers</TabsTrigger>
|
||||
)}
|
||||
{permissions?.service.create && (
|
||||
<TabsTrigger value="backups">Backups</TabsTrigger>
|
||||
|
||||
@@ -447,10 +447,7 @@ export const containerStart = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const containerStop = async (
|
||||
containerId: string,
|
||||
serverId?: string,
|
||||
) => {
|
||||
export const containerStop = async (containerId: string, serverId?: string) => {
|
||||
const command = `docker container stop ${containerId}`;
|
||||
const { stderr } = serverId
|
||||
? await execAsyncRemote(serverId, command)
|
||||
@@ -462,10 +459,7 @@ export const containerStop = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const containerKill = async (
|
||||
containerId: string,
|
||||
serverId?: string,
|
||||
) => {
|
||||
export const containerKill = async (containerId: string, serverId?: string) => {
|
||||
const command = `docker container kill ${containerId}`;
|
||||
const { stderr } = serverId
|
||||
? await execAsyncRemote(serverId, command)
|
||||
|
||||
Reference in New Issue
Block a user