anaylab opened a new pull request, #662:
URL: https://github.com/apache/shenyu-dashboard/pull/662

   ## What
   `handleApiCancel` was copy-pasted from `handleTagCancel` and still called 
`tagForm.resetFields()` instead of `apiForm.resetFields()`, so cancelling the 
API modal reset the wrong form.
   
   ## Fix
   One-line fix: call `apiForm.resetFields()` in `handleApiCancel`, matching 
the pattern used by `handleTagCancel`/`tagForm`.
   
   ## Testing
   - `npx eslint` on the changed file: clean.
   - Full `jest` suite: 32/32 passing (no existing tests cover this file).
   
   Closes #646


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