yyqdbngt opened a new issue, #1349:
URL: https://github.com/apache/rocketmq-dashboard/issues/1349

   ## Problem
   
   `web/src/pages/ops/systemAlerts.tsx` indexes `alertLevelConfig[alert.level]` 
and immediately reads `cfg.bg`, `cfg.color`, and `cfg.label`. The API models 
`level` as an unrestricted string, so a new, mixed-case, or malformed level 
makes the page throw instead of rendering the remaining alerts.
   
   ## Expected behavior
   
   Normalize known levels and provide a safe default style/label for unknown 
values.
   
   ## Scope
   
   - add a fallback alert-level configuration
   - preserve existing error/warning/info styling
   - add an unknown-level regression test
   


-- 
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]

Reply via email to