yyqdbngt opened a new pull request, #2087:
URL: https://github.com/apache/rocketmq-dashboard/pull/2087

   ## What is the purpose of the change
   
   Fix #2067.
   
   BrokerCluster page called cluster.brokers/nameServers/proxies .forEach 
without a null guard, while the backend can serialize these as null, crashing 
the page.
   
   ## Brief changelog
   
   - BrokerCluster.tsx: use (cluster.brokers ?? []).forEach etc.
   
   ## How was this patch verified
   
   - npx vitest run src/pages/studio/__tests__/BrokerCluster.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]

Reply via email to