Merge pull request #15409 from iLert/fix/ilert-services-uptimepercentage

Fix/ilert services uptimepercentage
This commit is contained in:
Johan Haals
2022-12-23 13:44:23 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-ilert': patch
---
fixed error on service page not showing if historical uptime was disabled on a service
@@ -86,7 +86,7 @@ export const ServicesTable = ({
cellStyle: smColumnStyle,
headerStyle: smColumnStyle,
render: rowData => (
<Typography>{rowData.uptime.uptimePercentage.p90}</Typography>
<Typography>{rowData.uptime?.uptimePercentage?.p90 || ''}</Typography>
),
};
const actionsColumn: TableColumn<Service> = {