feat: move hbc_version and hbc_type out of os_info into host info section

This commit is contained in:
2026-05-10 08:33:28 -04:00
parent a52744a448
commit b64a2a9313
+3 -2
View File
@@ -887,10 +887,11 @@
function renderOsInfoTable(d) { function renderOsInfoTable(d) {
const ORDER = ['distro_pretty_name','system','release','version','machine', const ORDER = ['distro_pretty_name','system','release','version','machine',
'processor','architecture','node','python_version', 'processor','architecture','node','python_version',
'python_implementation','hbc_version', 'python_implementation',
'distro_name','distro_version','distro_id','distro_version_id']; 'distro_name','distro_version','distro_id','distro_version_id'];
const INFO_FIELDS = new Set(['hbc_version', 'hbc_type']);
const shown = new Set(ORDER); 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 = '<table class="data-table"><thead><tr><th>Field</th><th>Value</th></tr></thead><tbody>'; let html = '<table class="data-table"><thead><tr><th>Field</th><th>Value</th></tr></thead><tbody>';
for (const k of keys) { for (const k of keys) {