yyqdbngt opened a new pull request, #2560: URL: https://github.com/apache/rocketmq-dashboard/pull/2560
## Summary - align the K8s certificate API type with nullable metadata returned by the backend - render and sort missing type, issuer, expiration, and status values safely - preserve nullable SAN metadata when cloning certificates in mock mode - cover an incomplete certificate row and its sortable columns ## Why Metadata-only and legacy certificate records can omit issuer and other parsed certificate fields. The table previously called string/date sort logic on those values directly, so sorting an incomplete row could break the inventory page. ## Validation - `npm test -- --run src/pages/cluster/__tests__/K8sCertsPage.test.tsx` (7 tests passed) - `npm run build` - `npx eslint src/api/cluster.ts src/services/clusterService.ts src/pages/cluster/certs.tsx src/pages/cluster/__tests__/K8sCertsPage.test.tsx --max-warnings=0` - `git diff --check` Closes #2556. -- 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]
