feat(platform): use alert events api surface
This commit is contained in:
@@ -81,7 +81,7 @@ export default function App() {
|
||||
const refreshOpsHealth = useCallback((showError = true) => {
|
||||
return Promise.all([
|
||||
api.opsHealth(),
|
||||
api.qualityNotificationPlan(new URLSearchParams({ limit: '5' })).catch(() => null)
|
||||
api.alertEventNotificationPlan(new URLSearchParams({ limit: '5' })).catch(() => null)
|
||||
])
|
||||
.then(([health, notificationPlan]) => {
|
||||
setLinkIssueCount(health.linkHealth.filter((item) => item.status !== 'ok').length);
|
||||
|
||||
Reference in New Issue
Block a user