You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2021/12/13 12:19:33 UTC

[incubator-inlong] branch master updated: [INLONG-1955] Do not set the disabled of the hive field (#1963)

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

gosonzhang 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 958c519  [INLONG-1955] Do not set the disabled of the hive field (#1963)
958c519 is described below

commit 958c51957e38b8610298caa7e482f74af759b94c
Author: Daniel <le...@outlook.com>
AuthorDate: Mon Dec 13 20:19:29 2021 +0800

    [INLONG-1955] Do not set the disabled of the hive field (#1963)
---
 .../src/components/AccessHelper/FieldsConfig/businessFields.tsx       | 2 +-
 inlong-website/src/components/MetaData/StorageHive.tsx                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inlong-website/src/components/AccessHelper/FieldsConfig/businessFields.tsx b/inlong-website/src/components/AccessHelper/FieldsConfig/businessFields.tsx
index a51bf75..8c4c678 100644
--- a/inlong-website/src/components/AccessHelper/FieldsConfig/businessFields.tsx
+++ b/inlong-website/src/components/AccessHelper/FieldsConfig/businessFields.tsx
@@ -113,7 +113,7 @@ export default (
       type: 'radio',
       label: i18n.t('components.AccessHelper.FieldsConfig.businessFields.QueueModule'),
       name: 'queueModule',
-      initialValue: currentValues.queueModule ?? 'parallel',
+      initialValue: currentValues.queueModule ?? 'serial',
       rules: [{ required: true }],
       props: {
         options: [
diff --git a/inlong-website/src/components/MetaData/StorageHive.tsx b/inlong-website/src/components/MetaData/StorageHive.tsx
index f1f8682..eb823bc 100644
--- a/inlong-website/src/components/MetaData/StorageHive.tsx
+++ b/inlong-website/src/components/MetaData/StorageHive.tsx
@@ -90,7 +90,7 @@ export const getHiveColumns: GetStorageColumnsType = (dataType, currentValues) =
         },
       ],
       props: (text, record, idx, isNew) => ({
-        disabled: text && !isNew,
+        // disabled: text && !isNew,
         // disabled: [110, 130].includes(currentValues?.status as number) && !isNew,
       }),
     },
@@ -101,7 +101,7 @@ export const getHiveColumns: GetStorageColumnsType = (dataType, currentValues) =
       type: 'select',
       props: (text, record, idx, isNew) => ({
         options: hiveFieldTypes,
-        disabled: text && !isNew,
+        // disabled: text && !isNew,
       }),
       rules: [{ required: true }],
     },