dengliming opened a new issue, #649: URL: https://github.com/apache/shenyu-dashboard/issues/649
## Description `removeEmptyMenu(authMenus)` returns a filtered array, but the caller ignores the result, so top-level menus whose children were all filtered out are kept. ## Location (Lines refer to `master @ 83969a5`.) - `src/utils/AuthRoute.js:180-196` ## Impact A role that has the "config" parent resource but no child resources sees a bare "Config" menu item that links to `/config`, which then redirects to `/config/plugin` and renders blank (see the AuthRoute redirect issue). ## Suggested fix `authMenus = removeEmptyMenu(authMenus);` ## 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]
