dengliming opened a new issue, #616:
URL: https://github.com/apache/shenyu-dashboard/issues/616
## Description
`alert/reload` was copy-pasted from the manage model: it destructures
`userName` (which the Alert page never sends) and forwards only `{ userName,
currentPage, pageSize }`. The Alert page's delete handler relies solely on this
reload and passes `fetchValue: { currentPage, pageSize }` with no namespace
either.
## Location
(Lines refer to `master @ 83969a5`.)
- `src/models/alert.js:98-101`
- `src/routes/System/Alert/index.js:132-140`
## Impact
After deleting an alert receiver, the list is re-fetched without the
namespace filter, showing receivers from other namespaces (or an error/empty
list depending on backend validation). The page is also not reset, so deleting
the last row on page N shows an empty page.
## Suggested fix
Forward `namespaceId` (and drop `userName`) in `reload`, and include
`namespaceId: currentNamespaceId` in the page's `fetchValue`.
## 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]