diff --git a/client/src/pages/Home/components/ReportDetailsSection/ReportDetailsSection.tsx b/client/src/pages/Home/components/ReportDetailsSection/ReportDetailsSection.tsx index 09a2988c..b6fd3480 100644 --- a/client/src/pages/Home/components/ReportDetailsSection/ReportDetailsSection.tsx +++ b/client/src/pages/Home/components/ReportDetailsSection/ReportDetailsSection.tsx @@ -77,7 +77,7 @@ const statItems = ( }); defaultStats.push({ - title: `Incidents from ${stats.nodeWithMostIncidents.numberOfIncidents}`, + title: `Incidents from ${stats.nodeWithMostIncidents.nodeName}`, value: stats.nodeWithMostIncidents.numberOfIncidents, unit: 'incidents', valueColor: colors.urgency.low, diff --git a/client/src/pages/Incident/NodeIncident.tsx b/client/src/pages/Incident/NodeIncident.tsx index 4201132f..065ce122 100644 --- a/client/src/pages/Incident/NodeIncident.tsx +++ b/client/src/pages/Incident/NodeIncident.tsx @@ -140,24 +140,22 @@ const NodeIncidentPage = () => { /> -
-
- - -
- - {transitions((style, source) => ( - - - - ))} - - {isFetchingSources && } +
+ +
+ + {transitions((style, source) => ( + + + + ))} + + {isFetchingSources && }
); diff --git a/client/src/pages/ReportDetails/ReportDetails.tsx b/client/src/pages/ReportDetails/ReportDetails.tsx index ba0e0ec9..a0d20b9d 100644 --- a/client/src/pages/ReportDetails/ReportDetails.tsx +++ b/client/src/pages/ReportDetails/ReportDetails.tsx @@ -76,7 +76,7 @@ const statItems = ( }); defaultStats.push({ - title: `Incidents from ${stats.nodeWithMostIncidents.numberOfIncidents}`, + title: `Incidents from ${stats.nodeWithMostIncidents.nodeName}`, value: stats.nodeWithMostIncidents.numberOfIncidents, unit: 'incidents', valueColor: colors.urgency.low,