Full-width GE-Enforce pages; asset column no longer echoes the host

This commit is contained in:
2026-08-12 17:01:10 -04:00
parent 2c822e462d
commit 50578f33bd
7 changed files with 52 additions and 5 deletions

View File

@@ -1106,7 +1106,9 @@ def list_reports():
'machineassetid': known.get('machineassetid'),
'toolassetnumber': known.get('toolassetnumber'),
'toolassetid': known.get('toolassetid'),
'displayrole': known.get('displayrole'),
# Reported by the device wins; the DashboardDefault mapping is a
# fallback for hosts on an older client that does not send it.
'displayrole': report.subtype or known.get('displayrole'),
'backupkind': known.get('backupkind'),
'backuplastseen': known.get('backuplastseen'),
'scopename': report.scopename,