dengliming opened a new issue, #617: URL: https://github.com/apache/shenyu-dashboard/issues/617
## Description `McpServer/index.js` destructures `toolTotal` from props and passes it as the tool table's `total`, but the `common` model only exposes `ruleTotal` (tools are stored as rules). `toolTotal` is always `undefined`, so antd's Table falls back to `dataSource.length`. ## Location (Lines refer to `master @ 83969a5`.) - `src/routes/Plugin/McpServer/index.js:1048,1524` - `src/models/common.js:45,105` (`ruleTotal`) ## Impact A selector with more than one page of tools (default page size 12) shows a single page; pages 2+ can never be reached. ## Suggested fix Map `ruleTotal` to the tool table's `total` (or add a `toolTotal` field to the model if the semantics should diverge). ## Related existing None -- 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]
