tju-yxq opened a new pull request, #3986: URL: https://github.com/apache/rocketmq-dashboard/pull/3986
## What changes are included? The Topic page now passes the trimmed search term to the client-side row filter as well as the server query. `loadTopicPage` already sent `search: searchText.trim()` to `/topics/page`, but `visibleTopics` still received the raw input. With a pasted term such as ` orders `, the server returned the matching topics while the local filter rejected every row, leaving the table empty. ## Verification - `npm test -- TopicPage.test.tsx --run` in `web`: 22 tests passed - `npm run lint -- --quiet` in `web`: passed with no output - `npm run build` in `web`: passed (Vite, 8038 modules) - `git diff --check`: passed ## Additional context Closes #3985. -- 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]
