diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx index ed437f94d..481b3be8e 100644 --- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx +++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx @@ -23,7 +23,6 @@ import { import { InfrastructureSourceManager } from './InfrastructureSourceManager'; import { InfrastructureSourcePicker } from './InfrastructureSourcePicker'; import { - connectionAgentEndpointDisplay, connectionAgentIdentitySummary, connectionAgentVersionPresentation, connectionLastActivityText, @@ -361,13 +360,11 @@ const InfrastructureWorkspaceContent: Component = ); const renderAgentConnectionDetails = (connection: Connection) => { - const pausePending = () => rowActions.pendingAction(connection.id) === 'pause'; const removePending = () => rowActions.pendingAction(connection.id) === 'remove'; const removeConfirming = () => rowActions.confirmingRemove(connection.id); const error = () => rowActions.actionError(connection.id); const versionPresentation = () => connectionAgentVersionPresentation(connection); const identitySummary = () => connectionAgentIdentitySummary(connection); - const endpointDisplay = () => connectionAgentEndpointDisplay(connection); const infoCard = (label: string, value: string) => (
{label}
@@ -378,25 +375,7 @@ const InfrastructureWorkspaceContent: Component = return (
-
-
-
- Pulse Agent -
-
{connection.name}
- - {(summary) =>
{summary()}
} -
- - {(endpoint) =>
{endpoint()}
} -
-
- - {connection.enabled ? 'Enabled' : 'Paused'} - -
- -
+
{infoCard('Connection state', connection.state)} {infoCard('Last seen', connection.lastSeen ? connection.lastSeen : 'No activity yet')} @@ -459,7 +438,7 @@ const InfrastructureWorkspaceContent: Component =
Linux / macOS / FreeBSD
-
+
{agentUninstallCommands().linux}