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

dockerzhang 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 21908da  [INLONG-2500][Dashboard] Adapt to Manager's modification of 
data storage (#2501)
21908da is described below

commit 21908da0844606f01fd7a808509b326db0054e82
Author: healchow <[email protected]>
AuthorDate: Tue Feb 15 15:41:06 2022 +0800

    [INLONG-2500][Dashboard] Adapt to Manager's modification of data storage 
(#2501)
---
 .../src/components/AccessHelper/DataStorageEditor/DetailModal.tsx   | 6 +++---
 inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx      | 2 +-
 inlong-dashboard/src/components/MetaData/StorageHive.tsx            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
 
b/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
index 462d4d1..e01744c 100644
--- 
a/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
+++ 
b/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx
@@ -70,8 +70,8 @@ const Comp: React.FC<DetailModalProps> = ({
     return {
       HIVE: {
         // Field name of the field array form
-        columnsKey: 'hiveFieldList',
-        // Cloumns definition of field array
+        columnsKey: 'fieldList',
+        // Columns definition of field array
         getColumns: getHiveColumns,
         // In addition to the defaultRowTypeFields field that is populated by 
default, additional fields that need to be populated
         // The left is the defaultRowTypeFields field, and the right is the 
newly filled field
@@ -80,7 +80,7 @@ const Comp: React.FC<DetailModalProps> = ({
         },
       },
       CLICK_HOUSE: {
-        columnsKey: 'clickHouseFieldList',
+        columnsKey: 'fieldList',
         getColumns: getClickhouseColumns,
         restMapping: {
           fieldName: 'fieldName',
diff --git a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx 
b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
index 8946abc..a5fe3f9 100644
--- a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx
@@ -222,7 +222,7 @@ export const getClickhouseForm: GetStorageFormFieldsType = (
       },
     },
     {
-      name: 'clickHouseFieldList',
+      name: 'fieldList',
       type: EditableTable,
       props: {
         size: 'small',
diff --git a/inlong-dashboard/src/components/MetaData/StorageHive.tsx 
b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
index eb823bc..36b0153 100644
--- a/inlong-dashboard/src/components/MetaData/StorageHive.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
@@ -226,7 +226,7 @@ export const getHiveForm: GetStorageFormFieldsType = (
           canDelete={(record, idx, isNew) => !isEdit || isNew}
         />
       ),
-      name: 'hiveFieldList',
+      name: 'fieldList',
     },
   ];
 

Reply via email to