You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/05/12 03:46:32 UTC

[inlong] branch master updated: [INLONG-8011][Dashboard] Cluster name and node name can be modified when editing (#8012)

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 e961fdec8 [INLONG-8011][Dashboard] Cluster name and node name can be modified when editing (#8012)
e961fdec8 is described below

commit e961fdec8388fa7a3b1d39e4f2aaf5f7a5cc3293
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Fri May 12 11:46:27 2023 +0800

    [INLONG-8011][Dashboard] Cluster name and node name can be modified when editing (#8012)
---
 CHANGES.md                                                         | 1 +
 inlong-dashboard/src/plugins/clusters/common/ClusterDefaultInfo.ts | 1 -
 inlong-dashboard/src/plugins/nodes/common/NodeDefaultInfo.ts       | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 9086b15c3..89507625e 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -190,6 +190,7 @@
 | [INLONG-7004](https://github.com/apache/inlong/issues/7004) | [Feature][Dashboard][Manager] Creating schema of  StreamSource by Statement                                    |
 | [INLONG-7971](https://github.com/apache/inlong/issues/7971) | [Feature][Dashboard] Support batch import fields by Excel                                                      |
 | [INLONG-8001](https://github.com/apache/inlong/issues/8001) | [Feature][Dashboard] Support postgreSQL node management                                                        |
+| [INLONG-8011](https://github.com/apache/inlong/issues/8011) | [Improve][Dashboard] Cluster name and node name can be modified when editing                                   |
 
 ### Other
 |                            ISSUE                            | Summary                                                                                                 |
diff --git a/inlong-dashboard/src/plugins/clusters/common/ClusterDefaultInfo.ts b/inlong-dashboard/src/plugins/clusters/common/ClusterDefaultInfo.ts
index 50c19d9cf..2472dd905 100644
--- a/inlong-dashboard/src/plugins/clusters/common/ClusterDefaultInfo.ts
+++ b/inlong-dashboard/src/plugins/clusters/common/ClusterDefaultInfo.ts
@@ -39,7 +39,6 @@ export class ClusterDefaultInfo implements DataWithBackend, RenderRow, RenderLis
     rules: [{ required: true }],
     props: values => ({
       maxLength: 128,
-      disabled: Boolean(values.id),
     }),
   })
   @ColumnDecorator()
diff --git a/inlong-dashboard/src/plugins/nodes/common/NodeDefaultInfo.ts b/inlong-dashboard/src/plugins/nodes/common/NodeDefaultInfo.ts
index fd922b106..f8c74f3b7 100644
--- a/inlong-dashboard/src/plugins/nodes/common/NodeDefaultInfo.ts
+++ b/inlong-dashboard/src/plugins/nodes/common/NodeDefaultInfo.ts
@@ -39,7 +39,6 @@ export class NodeDefaultInfo implements DataWithBackend, RenderRow, RenderList {
     rules: [{ required: true }],
     props: values => ({
       maxLength: 128,
-      disabled: Boolean(values.id),
     }),
   })
   @ColumnDecorator()