From b64a2a9313e06df772f1e17b2233cb25bfdc3492 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sun, 10 May 2026 08:33:28 -0400 Subject: [PATCH] feat: move hbc_version and hbc_type out of os_info into host info section --- hbd/server/templates/plugins.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hbd/server/templates/plugins.html b/hbd/server/templates/plugins.html index eac8a71..8a340b1 100644 --- a/hbd/server/templates/plugins.html +++ b/hbd/server/templates/plugins.html @@ -887,10 +887,11 @@ function renderOsInfoTable(d) { const ORDER = ['distro_pretty_name','system','release','version','machine', 'processor','architecture','node','python_version', - 'python_implementation','hbc_version', + 'python_implementation', 'distro_name','distro_version','distro_id','distro_version_id']; + const INFO_FIELDS = new Set(['hbc_version', 'hbc_type']); const shown = new Set(ORDER); - const keys = [...ORDER, ...Object.keys(d).filter(k => !shown.has(k) && !SKIP_FIELDS.has(k))]; + const keys = [...ORDER, ...Object.keys(d).filter(k => !shown.has(k) && !SKIP_FIELDS.has(k) && !INFO_FIELDS.has(k))]; let html = ''; for (const k of keys) {
FieldValue