Merge pull request #15409 from iLert/fix/ilert-services-uptimepercentage
Fix/ilert services uptimepercentage
This commit is contained in:
@@ -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> = {
|
||||
|
||||
Reference in New Issue
Block a user