dengliming opened a new issue, #623: URL: https://github.com/apache/shenyu-dashboard/issues/623
## Description `DiscoveryImportModal` is connected only to the `discovery` model and expects `currentNamespaceId` as a prop, but `Selector.js` does not pass it and the connect mapping does not read it from `global`. ## Location (Lines refer to `master @ 83969a5`.) - `src/routes/Plugin/Discovery/DiscoveryImportModal.js:23,36-42` - `src/routes/Plugin/Common/Selector.js:1758-1766` (usage) ## Impact In a non-default namespace, "Import config" for divide/grpc/websocket selectors fetches the discovery config with an undefined namespace, i.e. the wrong (or no) configuration. ## Suggested fix Map `global.currentNamespaceId` in the `connect` call or pass it explicitly from `Selector.js`. ## 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]
