[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-14 02:15:37 +00:00
committed by GitHub
parent f8eb2ba4ba
commit ddf570a807
3 changed files with 5 additions and 17 deletions
@@ -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
@@ -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>
+2 -8
View File
@@ -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)