btlqql opened a new pull request, #2026: URL: https://github.com/apache/rocketmq-dashboard/pull/2026
## What is the purpose of the change Fix #1996. The Studio instance page captured loadInstances when a create, update, or delete mutation started. That callback also captured the search and instance-type filters from the same render. If an operator changed the list filters while the mutation request was in flight, the mutation completion invoked the stale callback whose refresh request used the old filters and overwrote the table with results that no longer matched the visible filters. ## Brief changelog - instance page: mutations now bump a reloadVersion that triggers the list effect to re-run with the latest filters instead of calling a stale loadInstances closure ## How was this patch verified - npx vitest run src/pages/instance/__tests__/InstancePage.test.tsx (11 passed) - npx tsc -b clean - npx eslint . 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]
