diff --git a/report/src/components/MachineInfo.tsx b/report/src/components/MachineInfo.tsx index 1d6fbfd..e36723f 100644 --- a/report/src/components/MachineInfo.tsx +++ b/report/src/components/MachineInfo.tsx @@ -27,16 +27,7 @@ const MachineInfo = ({ machineInfo }: MachineInfoProps) => { !machineInfo.region && !machineInfo.fileSystem) ) { - return ( -
-

- Machine Information -

-

- Machine information not available for this benchmark run. -

-
- ); + return null; } const providerUrl = diff --git a/report/src/components/RunList.tsx b/report/src/components/RunList.tsx index c693887..52b5db6 100644 --- a/report/src/components/RunList.tsx +++ b/report/src/components/RunList.tsx @@ -340,21 +340,9 @@ const RunList = ({ {isExpanded && (
{/* Machine Information Section */} - {section.runs.length > 0 && ( + {section.runs[0]?.machineInfo && (
- {section.runs[0].machineInfo ? ( - - ) : ( -
-

- Machine Information -

-

- Machine information not available for this benchmark - run. -

-
- )} +
)}