diff --git a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt index d00491fd..0cfbf088 100644 --- a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt @@ -1 +1 @@ -1 +2 diff --git a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/page.tsx b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/page.tsx index dfe7379b..095cbabe 100644 --- a/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/page.tsx +++ b/src/Web/autopilot-monitor-web/app/sessions/[sessionId]/page.tsx @@ -1324,10 +1324,11 @@ function DeviceDetailsCard({ events }: { events: EnrollmentEvent[] }) { const imeVersion = getEventData("ime_agent_version"); const bitLockerStatus = getEventData("bitlocker_status"); const secureBootStatus = getEventData("secureboot_status"); + const deviceLocation = getEventData("device_location"); // Check if we have any device detail events at all const hasData = agentStarted || bootTime || osInfo || networkAdapters || dnsConfig || proxyConfig || autopilotProfile || - aadJoinStatus || imeVersion || bitLockerStatus || secureBootStatus; + aadJoinStatus || imeVersion || bitLockerStatus || secureBootStatus || deviceLocation; if (!hasData) return null; @@ -1366,7 +1367,7 @@ function DeviceDetailsCard({ events }: { events: EnrollmentEvent[] }) { )} {/* System */} - {(bootTime?.bootTime || agentStarted?.bootTime || agentStarted?.agentVersion || imeVersion) && ( + {(bootTime?.bootTime || agentStarted?.bootTime || agentStarted?.agentVersion || imeVersion || deviceLocation?.country || deviceLocation?.Country || deviceLocation?.timezone || deviceLocation?.Timezone) && ( {(bootTime?.bootTime || agentStarted?.bootTime) && ( @@ -1374,6 +1375,12 @@ function DeviceDetailsCard({ events }: { events: EnrollmentEvent[] }) { {bootTime?.uptimeMinutes && } {agentStarted?.agentVersion && } {imeVersion && } + {(deviceLocation?.country || deviceLocation?.Country) && ( + + )} + {(deviceLocation?.timezone || deviceLocation?.Timezone) && ( + + )} )}