From c29cf0bbd089a481bae8afed98b4b4a15414eb29 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Fri, 8 May 2026 18:15:16 +0100 Subject: [PATCH] Drop redundant Platform row from agent SystemInfoCard The agent-variant card showed Platform and OS as separate rows. For hosts where osName already carries the platform identity (Proxmox VE, Unraid, TrueNAS), the Platform row repeated the broader OS family ("debian", "raspbian", "linux") next to the more specific osName, implying that "debian" was the platform when the host is actually Proxmox VE. Merge the Platform row into the OS row. When osName is present it carries the full identity; when it is missing the OS row falls back to the prettified platform family. Architecture and Kernel stay on their own rows. Mirrors the connection-table identity fix in 1b2ac272c so both the Settings/Infrastructure surface and the resource detail drawer agree on the canonical platform identity. --- .../components/shared/cards/SystemInfoCard.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend-modern/src/components/shared/cards/SystemInfoCard.tsx b/frontend-modern/src/components/shared/cards/SystemInfoCard.tsx index a79f382a0..da9773e49 100644 --- a/frontend-modern/src/components/shared/cards/SystemInfoCard.tsx +++ b/frontend-modern/src/components/shared/cards/SystemInfoCard.tsx @@ -58,19 +58,19 @@ export const SystemInfoCard: Component = (props) => { {agentInfo.hostname} -
- Platform - - {agentInfo.platform || 'Unknown'} - -
OS - {agentInfo.osName} {agentInfo.osVersion} + {agentInfo.osName + ? `${agentInfo.osName}${agentInfo.osVersion ? ` ${agentInfo.osVersion}` : ''}` + : agentInfo.platform || 'Unknown'}