dengliming opened a new issue, #627:
URL: https://github.com/apache/shenyu-dashboard/issues/627

   ## Description
   `rowClick` in both the Common plugin page and the McpServer page dispatches 
`common/fetchRule` with `currentPage: 1, pageSize: selectorPageSize` but never 
resets `rulePage`/`toolPage` (nor uses `rulePageSize`/`toolPageSize`).
   
   ## Location
   (Lines refer to `master @ 83969a5`.)
   - `src/routes/Plugin/Common/index.js:777-785`
   - `src/routes/Plugin/McpServer/index.js:785-793`
   
   ## Impact
   With rule page size 20 while on rule page 3, click another selector: the 
request is page 1 / size 12 but the table pager shows current=3, pageSize=20, 
so the visible rows and the pager disagree.
   
   ## Suggested fix
   Reset `rulePage`/`toolPage` to 1 in `rowClick` and pass 
`rulePageSize`/`toolPageSize`.
   
   ## 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]

Reply via email to