feat(platform): use alert events api surface

This commit is contained in:
lingniu
2026-07-04 18:01:45 +08:00
parent 1235e76c32
commit 89e954cad9
5 changed files with 91 additions and 91 deletions

View File

@@ -73,7 +73,7 @@ export function NotificationRules() {
const load = () => {
setLoading(true);
Promise.all([
api.qualityNotificationPlan(new URLSearchParams({ limit: '50' })),
api.alertEventNotificationPlan(new URLSearchParams({ limit: '50' })),
api.opsHealth().catch(() => null)
])
.then(([nextPlan, nextHealth]) => {