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

   ## Description
   `searchNamespaceIdOnchange` stores the typed value in 
`this.state.namespaceId` and the render reads `this.state.namespaceId` for the 
input, but `currentQueryPayload` takes `namespaceId` from `this.props` (which 
is `undefined` for this page). The filter value is therefore never sent to the 
backend.
   
   ## Location
   (Lines refer to `master @ 83969a5`.)
   - `src/routes/System/Namespace/index.js:86-92` (`currentQueryPayload`)
   - `src/routes/System/Namespace/index.js:166-168` (search handler writes 
state)
   - `src/routes/System/Namespace/index.js:347` (render reads state)
   
   ## Impact
   Typing into the "namespaceId" search box just re-fetches the unfiltered list.
   
   ## Suggested fix
   Read `namespaceId` from `this.state` in `currentQueryPayload`.
   
   ## 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