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

wusheng 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 c4aed4b  Change "Service filter" to "Service group" (#373)
c4aed4b is described below

commit c4aed4ba7fa4e25ffc32b6edefb7b53ccb639e2a
Author: Gao Hongtao <hanahm...@gmail.com>
AuthorDate: Tue Nov 24 16:28:51 2020 +0800

    Change "Service filter" to "Service group" (#373)
    
    Signed-off-by: Gao Hongtao <hanahm...@gmail.com>
---
 src/assets/lang/en.ts         | 3 ++-
 src/assets/lang/zh.ts         | 2 +-
 src/graph/fragments/option.ts | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/assets/lang/en.ts b/src/assets/lang/en.ts
index bc79c1f..307c863 100644
--- a/src/assets/lang/en.ts
+++ b/src/assets/lang/en.ts
@@ -143,7 +143,8 @@ const m = {
   parentService: 'Parent Service',
   isParentService: 'Set Parent Service',
   noneParentService: 'No Parent Service',
-  serviceFilter: 'Service Filter',
+  // TODO: var name should be updated to "serviceGroup" correspondingly.
+  serviceFilter: 'Service Group',
   endpointFilter: 'Endpoint Filter',
   editConfig: 'Edit Config',
   databaseView: 'Database',
diff --git a/src/assets/lang/zh.ts b/src/assets/lang/zh.ts
index bc402e9..1c79ecc 100644
--- a/src/assets/lang/zh.ts
+++ b/src/assets/lang/zh.ts
@@ -143,7 +143,7 @@ const m = {
   parentService: '父级服务',
   isParentService: '设置父服务',
   noneParentService: '不设置父服务',
-  serviceFilter: '服务过滤器',
+  serviceFilter: '服务组',
   endpointFilter: '端点过滤器',
   editConfig: '编辑',
   databaseView: '数据库视图',
diff --git a/src/graph/fragments/option.ts b/src/graph/fragments/option.ts
index 3eb0acc..9f9cb1b 100644
--- a/src/graph/fragments/option.ts
+++ b/src/graph/fragments/option.ts
@@ -18,7 +18,7 @@
 export const Services = {
   variable: ['$duration: Duration!', '$keyword: String!'],
   query: `
-    services: searchServices(duration: $duration, keyword: $keyword) {
+    services: getAllServices(duration: $duration, group: $keyword) {
       key: id
       label: name
     }

Reply via email to