This is an automated email from the ASF dual-hosted git repository. healchow pushed a commit to branch release-1.2.0 in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
commit b2f8317ba8b96d152465cb1af140a9da26baac39 Author: healzhou <[email protected]> AuthorDate: Thu Jun 9 17:07:24 2022 +0800 [INLONG-4610][Dashboard] Change the fieldList to sinkFieldList (#4611) --- .../src/components/AccessHelper/DataStorageEditor/DetailModal.tsx | 4 ++-- inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx | 2 +- inlong-dashboard/src/components/MetaData/StorageHive.tsx | 2 +- inlong-dashboard/src/components/MetaData/StorageIceberg.tsx | 2 +- 4 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 51388023f..c3186e969 100644 --- a/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx +++ b/inlong-dashboard/src/components/AccessHelper/DataStorageEditor/DetailModal.tsx @@ -76,7 +76,7 @@ const Comp: React.FC<DetailModalProps> = ({ return { HIVE: { // Field name of the field array form - columnsKey: 'fieldList', + columnsKey: 'sinkFieldList', // 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 restMapping: { @@ -84,7 +84,7 @@ const Comp: React.FC<DetailModalProps> = ({ }, }, CLICKHOUSE: { - columnsKey: 'fieldList', + columnsKey: 'sinkFieldList', restMapping: { fieldName: 'fieldName', }, diff --git a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx index 0e929f1f7..da3c8914d 100644 --- a/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx +++ b/inlong-dashboard/src/components/MetaData/StorageClickhouse.tsx @@ -249,7 +249,7 @@ const getForm: GetStorageFormFieldsType = ( }, }, { - name: 'fieldList', + name: 'sinkFieldList', type: EditableTable, props: { size: 'small', diff --git a/inlong-dashboard/src/components/MetaData/StorageHive.tsx b/inlong-dashboard/src/components/MetaData/StorageHive.tsx index b37de3c4f..3ec17bd42 100644 --- a/inlong-dashboard/src/components/MetaData/StorageHive.tsx +++ b/inlong-dashboard/src/components/MetaData/StorageHive.tsx @@ -291,7 +291,7 @@ const getForm: GetStorageFormFieldsType = ( canDelete={(record, idx, isNew) => !isEdit || isNew} /> ), - name: 'fieldList', + name: 'sinkFieldList', }, { name: 'partitionFieldList', diff --git a/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx b/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx index 7061295d5..375a13531 100644 --- a/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx +++ b/inlong-dashboard/src/components/MetaData/StorageIceberg.tsx @@ -286,7 +286,7 @@ const getForm: GetStorageFormFieldsType = ( hidden: !currentValues?._showHigher, }, { - name: 'fieldList', + name: 'sinkFieldList', type: EditableTable, props: { size: 'small',
