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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new b405a10c8 [INLONG-4119][Dashboard] Change the keyWord to keyword in 
query request params (#4124)
b405a10c8 is described below

commit b405a10c803717cb7c200d26b46849422282abc9
Author: healchow <[email protected]>
AuthorDate: Sun May 8 15:33:49 2022 +0800

    [INLONG-4119][Dashboard] Change the keyWord to keyword in query request 
params (#4124)
---
 .../src/components/ConsumeHelper/BusinessSelect/MyBusinessModal.tsx | 6 +++---
 inlong-dashboard/src/pages/AccessDashboard/config.tsx               | 4 ++--
 inlong-dashboard/src/pages/AccessDashboard/index.tsx                | 2 +-
 inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx       | 4 ++--
 inlong-dashboard/src/pages/AccessDetail/DataStorage/index.tsx       | 4 ++--
 inlong-dashboard/src/pages/AccessDetail/DataStream/config.tsx       | 4 ++--
 inlong-dashboard/src/pages/DataSources/index.tsx                    | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/inlong-dashboard/src/components/ConsumeHelper/BusinessSelect/MyBusinessModal.tsx
 
b/inlong-dashboard/src/components/ConsumeHelper/BusinessSelect/MyBusinessModal.tsx
index f6bf00e40..3f2ec09fa 100644
--- 
a/inlong-dashboard/src/components/ConsumeHelper/BusinessSelect/MyBusinessModal.tsx
+++ 
b/inlong-dashboard/src/components/ConsumeHelper/BusinessSelect/MyBusinessModal.tsx
@@ -31,7 +31,7 @@ export interface MyAccessModalProps extends Omit<ModalProps, 
'onOk'> {
 const getFilterFormContent = () => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
+    name: 'keyword',
   },
 ];
 
@@ -39,7 +39,7 @@ const Comp: React.FC<MyAccessModalProps> = ({ ...modalProps 
}) => {
   const { t } = useTranslation();
 
   const [options, setOptions] = useState({
-    keyWord: '',
+    keyword: '',
     pageSize: 10,
     pageNum: 1,
   });
@@ -74,7 +74,7 @@ const Comp: React.FC<MyAccessModalProps> = ({ ...modalProps 
}) => {
 
   const closeAll = () => {
     setOptions({
-      keyWord: '',
+      keyword: '',
       pageSize: 10,
       pageNum: 1,
     });
diff --git a/inlong-dashboard/src/pages/AccessDashboard/config.tsx 
b/inlong-dashboard/src/pages/AccessDashboard/config.tsx
index d3abe8e31..2a6cc38e4 100644
--- a/inlong-dashboard/src/pages/AccessDashboard/config.tsx
+++ b/inlong-dashboard/src/pages/AccessDashboard/config.tsx
@@ -50,8 +50,8 @@ export const dashCardList = [
 export const getFilterFormContent = defaultValues => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
-    initialValue: defaultValues.keyWord,
+    name: 'keyword',
+    initialValue: defaultValues.keyword,
     props: {
       allowClear: true,
     },
diff --git a/inlong-dashboard/src/pages/AccessDashboard/index.tsx 
b/inlong-dashboard/src/pages/AccessDashboard/index.tsx
index 199b57703..ed81493d1 100644
--- a/inlong-dashboard/src/pages/AccessDashboard/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDashboard/index.tsx
@@ -33,7 +33,7 @@ const Comp: React.FC = () => {
   const { t } = useTranslation();
   const history = useHistory();
   const [options, setOptions] = useState({
-    // keyWord: '',
+    // keyword: '',
     // status: '',
     pageSize: defaultSize,
     pageNum: 1,
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx 
b/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
index 4e54d4168..9e73f98cc 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataSources/index.tsx
@@ -35,7 +35,7 @@ type Props = CommonInterface;
 const getFilterFormContent = defaultValues => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
+    name: 'keyword',
   },
   {
     type: 'radiobutton',
@@ -60,7 +60,7 @@ const getFilterFormContent = defaultValues => [
 
 const Comp: React.FC<Props> = ({ inlongGroupId }) => {
   const [options, setOptions] = useState({
-    // keyWord: '',
+    // keyword: '',
     pageSize: defaultSize,
     pageNum: 1,
     sourceType: 'FILE',
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataStorage/index.tsx 
b/inlong-dashboard/src/pages/AccessDetail/DataStorage/index.tsx
index 792bd1889..94a831279 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataStorage/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataStorage/index.tsx
@@ -34,7 +34,7 @@ type Props = CommonInterface;
 const getFilterFormContent = defaultValues => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
+    name: 'keyword',
   },
   {
     type: 'select',
@@ -53,7 +53,7 @@ const getFilterFormContent = defaultValues => [
 
 const Comp: React.FC<Props> = ({ inlongGroupId }) => {
   const [options, setOptions] = useState({
-    keyWord: '',
+    keyword: '',
     pageSize: defaultSize,
     pageNum: 1,
     sinkType: 'HIVE',
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataStream/config.tsx 
b/inlong-dashboard/src/pages/AccessDetail/DataStream/config.tsx
index 5745a9cbc..16e2db191 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataStream/config.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataStream/config.tsx
@@ -26,8 +26,8 @@ import { Storages } from '@/components/MetaData';
 export const getFilterFormContent = (defaultValues = {} as any) => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
-    initialValue: defaultValues.keyWord,
+    name: 'keyword',
+    initialValue: defaultValues.keyword,
   },
 ];
 
diff --git a/inlong-dashboard/src/pages/DataSources/index.tsx 
b/inlong-dashboard/src/pages/DataSources/index.tsx
index fea59cb7c..386b6aee2 100644
--- a/inlong-dashboard/src/pages/DataSources/index.tsx
+++ b/inlong-dashboard/src/pages/DataSources/index.tsx
@@ -34,7 +34,7 @@ import { genStatusTag } from './status';
 const getFilterFormContent = defaultValues => [
   {
     type: 'inputsearch',
-    name: 'keyWord',
+    name: 'keyword',
   },
   {
     type: 'radiobutton',
@@ -59,7 +59,7 @@ const getFilterFormContent = defaultValues => [
 
 const Comp: React.FC = () => {
   const [options, setOptions] = useState({
-    // keyWord: '',
+    // keyword: '',
     pageSize: defaultSize,
     pageNum: 1,
     type: 'DB',

Reply via email to