keranbingaa opened a new pull request, #996: URL: https://github.com/apache/rocketmq-dashboard/pull/996
Closes #995 RocketMQClusterProvider left `proxies`/`tpsHistory` as null in the returned `ClusterVO`, which crashed the cluster page render (`c.proxies.length`) because the app has no error boundary. This adds safe defaults in the provider and null guards in the cluster page for `proxies`/`config`/`brokers`/`nameServers`. Tests: - server: `mvn -q -Dtest=RocketMQClusterProviderTest test` - web: `npx vitest run src/pages/cluster/__tests__/ClusterPage.test.tsx` -- 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]
