yx9o opened a new pull request, #675: URL: https://github.com/apache/rocketmq-dashboard/pull/675
## What is the purpose of the change Resetting the SSL settings could leave the switch state inconsistent with the form value. Additionally, disabling SSL hid the save and reset buttons, preventing users from saving or reverting the disabled state. ## Brief changelog - Use the form value as the single source of truth for the SSL enabled state - Restore the latest saved configuration when resetting the form - Keep save and reset actions available when SSL is disabled - Add regression tests for reset behavior and disabled-state actions ## Verifying this change - `npm test -- --maxWorkers=2 src/pages/studio/__tests__/SslSettings.test.tsx` - `npm test -- --maxWorkers=2` - `npm run lint` - `npm run build` - `prettier --check src/pages/studio/SslSettings.tsx src/pages/studio/__tests__/SslSettings.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]
