yyqdbngt opened a new pull request, #2086: URL: https://github.com/apache/rocketmq-dashboard/pull/2086
## What is the purpose of the change Fix #2066. The system alerts page called alert.level.toLowerCase() but the fallback below assumes level can be empty, so a null level throws before the fallback runs. ## Brief changelog - systemAlerts.tsx: guard with (alert.level ?? '').toLowerCase() ## How was this patch verified - npx vitest run src/pages/ops/__tests__/SystemAlertsPage.test.tsx (passed) - npx tsc -b clean -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
