From f97bc4f62fac5a096640de28fa0073e48f6b7d75 Mon Sep 17 00:00:00 2001 From: samang-dauth Date: Wed, 2 Jul 2025 19:10:34 +0700 Subject: [PATCH] Removed server hostname under container name --- .../docker/table/DockerRowActions.tsx | 32 ------------------- .../docker/table/DockerTableRow.tsx | 1 - 2 files changed, 33 deletions(-) diff --git a/application/src/components/docker/table/DockerRowActions.tsx b/application/src/components/docker/table/DockerRowActions.tsx index 5ec429f..e85bb27 100644 --- a/application/src/components/docker/table/DockerRowActions.tsx +++ b/application/src/components/docker/table/DockerRowActions.tsx @@ -35,38 +35,6 @@ export const DockerRowActions = ({ container, containerStatus, onContainerAction View Details - - onContainerAction(containerStatus === 'running' ? 'stop' : 'start', container.id, container.name)} - className="cursor-pointer hover:bg-muted" - > - {containerStatus === 'running' ? ( - <> - - Stop Container - - ) : ( - <> - - Start Container - - )} - - onContainerAction('restart', container.id, container.name)} - className="cursor-pointer hover:bg-muted" - > - - Restart Container - - - onContainerAction('delete', container.id, container.name)} - className="cursor-pointer hover:bg-muted text-destructive focus:text-destructive" - > - - Remove Container - ); diff --git a/application/src/components/docker/table/DockerTableRow.tsx b/application/src/components/docker/table/DockerTableRow.tsx index 910d69a..119037a 100644 --- a/application/src/components/docker/table/DockerTableRow.tsx +++ b/application/src/components/docker/table/DockerTableRow.tsx @@ -46,7 +46,6 @@ export const DockerTableRow = ({ container, onRowClick, onContainerAction, onVie
{container.name}
{container.docker_id}
-
{container.hostname}