charle-z commented on code in PR #691:
URL: https://github.com/apache/shenyu-dashboard/pull/691#discussion_r4116072086


##########
src/models/common.js:
##########
@@ -48,8 +48,8 @@ export default {
 
   effects: {
     *fetchSelector({ payload }, { call, put }) {
-      const { namespaceId } = payload;
-      const json = yield call(getAllSelectors, { ...payload });
+      const { namespaceId, rulePageSize = 12, ...selectorPayload } = payload;
+      const json = yield call(getAllSelectors, { ...selectorPayload, 
namespaceId });

Review Comment:
   Fixed in `7a2c5246`. The `getAllSelectors` call is now formatted exactly as 
requested, with no behavior change. `git diff --check` and a Node ESM syntax 
check pass on the updated file.



-- 
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