You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/11/22 06:29:28 UTC

[skywalking-rocketbot-ui] branch master updated: fix: update condition (#562)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e2541e  fix: update condition (#562)
0e2541e is described below

commit 0e2541e3f1c0c5bacd7da4d13a32bd2b99402b8f
Author: Fine0830 <fi...@outlook.com>
AuthorDate: Mon Nov 22 14:29:24 2021 +0800

    fix: update condition (#562)
---
 src/store/modules/global/selectors.ts | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/global/selectors.ts b/src/store/modules/global/selectors.ts
index 0d057a9..d844602 100644
--- a/src/store/modules/global/selectors.ts
+++ b/src/store/modules/global/selectors.ts
@@ -237,7 +237,11 @@ const actions: ActionTree<State, any> = {
       params.callback({
         condition: {
           time: params.duration,
-          size: 20,
+          paging: {
+            pageNum: 1,
+            pageSize: 20,
+            needTotal: true,
+          },
           source: {
             service: params.service.label,
             endpoint: context.state.currentEndpoint.label,
@@ -257,7 +261,11 @@ const actions: ActionTree<State, any> = {
         .callback({
           condition: {
             time: params.duration,
-            size: 20,
+            paging: {
+              pageNum: 1,
+              pageSize: 20,
+              needTotal: true,
+            },
             source: {
               service: params.service.label,
               serviceInstance: context.state.currentInstance.label,