From 51d8f35b246f883c2af327c4e56fbd67f7c21239 Mon Sep 17 00:00:00 2001 From: kmalyjur Date: Fri, 19 Jul 2024 09:36:49 +0000 Subject: [PATCH] Fixes #37648 - Show complete hostgroup name in host overview and table --- .../HostDetails/DetailsCard/index.js | 31 ++++++++++++------- .../Details/Cards/SystemProperties/index.js | 8 ++--- .../components/HostsIndex/Columns/core.js | 15 ++++++--- 3 files changed, 34 insertions(+), 20 deletions(-) diff --git a/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js b/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js index 1212726115d..e525702a1ca 100644 --- a/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js +++ b/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js @@ -38,6 +38,7 @@ const DetailsCard = ({ comment, owner_id: ownerID, owner_name: ownerName, + hostgroup_title: hostgroupTitle, hostgroup_name: hostgroupName, hostgroup_id: hostgroupId, permissions: { @@ -120,18 +121,24 @@ const DetailsCard = ({ justifyContent={{ default: 'justifyContentSpaceBetween' }} > - + +