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/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 459a2efe38 [INLONG-11548][Dashboard] DolphinScheduler should support 
conventional config (#11549)
459a2efe38 is described below

commit 459a2efe387ae0753e872cb099bf28c8832828b5
Author: kamianlaida <165994047+wohainilao...@users.noreply.github.com>
AuthorDate: Wed Nov 27 22:43:15 2024 +0800

    [INLONG-11548][Dashboard] DolphinScheduler should support conventional 
config (#11549)
---
 inlong-dashboard/src/plugins/sync/common/SyncDefaultInfo.ts    | 1 -
 inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/inlong-dashboard/src/plugins/sync/common/SyncDefaultInfo.ts 
b/inlong-dashboard/src/plugins/sync/common/SyncDefaultInfo.ts
index 7bf18927d9..7e8456d749 100644
--- a/inlong-dashboard/src/plugins/sync/common/SyncDefaultInfo.ts
+++ b/inlong-dashboard/src/plugins/sync/common/SyncDefaultInfo.ts
@@ -151,7 +151,6 @@ export class SyncDefaultInfo implements DataWithBackend, 
RenderRow, RenderList {
     rules: [{ required: true }],
     props: values => {
       return {
-        disabled: values.scheduleEngine === 'DolphinScheduler',
         options: [
           {
             label: i18n.t('meta.Synchronize.Conventional'),
diff --git a/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx 
b/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
index f5ed276761..c6ccdd0a82 100644
--- a/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
+++ b/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
@@ -229,10 +229,6 @@ const Comp = ({ inlongGroupId, inlongStreamId, readonly, 
isCreate }: Props, ref)
         initialValues={data}
         onValuesChange={(c, values) => {
           setMqType(values.mqType);
-          if (c.scheduleEngine === 'DolphinScheduler') {
-            form.setFieldsValue({ scheduleType: 1 });
-            values.scheduleType = 1;
-          }
         }}
         useMaxWidth={1400}
         col={14}

Reply via email to