Skip to content

Commit

Permalink
[INLONG-9260][Dashboard] Enable batch import in Synchronize dashboard…
Browse files Browse the repository at this point in the history
… and detail page
  • Loading branch information
averyzhang committed Nov 10, 2023
1 parent de29e2c commit 37c3d8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions inlong-dashboard/src/ui/components/FieldList/DetailModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ const Comp: React.FC<Props> = ({ inlongGroupId, inlongStreamId, isSource, ...mod
<EditableTable
columns={isSource === true ? fieldList : sinkFieldList}
dataSource={isSource === true ? data?.fieldList : sinkData?.list[0]?.sinkFieldList}
canBatchAdd={true}
upsetByFieldKey={true}
></EditableTable>
</Form.Item>
</Form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,12 @@ const Comp: React.FC<Props> = ({
label={i18n.t('pages.SynchronizeDetail.Transform.FilterRules')}
wrapperCol={{ offset: 1 }}
>
<EditableTable columns={columns} dataSource={data}></EditableTable>
<EditableTable
columns={columns}
dataSource={data}
canBatchAdd={true}
upsetByFieldKey={true}
></EditableTable>
</Form.Item>
</Form>
</Modal>
Expand Down

0 comments on commit 37c3d8b

Please sign in to comment.