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 f554c3a6c4 [INLONG-12044][Dashboard] Fix the Agent installation method 
is missing (#12045)
f554c3a6c4 is described below

commit f554c3a6c454aa95d395ecae265259e385ec243b
Author: kamianlaida <[email protected]>
AuthorDate: Tue Nov 18 15:11:43 2025 +0800

    [INLONG-12044][Dashboard] Fix the Agent installation method is missing 
(#12045)
---
 inlong-dashboard/src/ui/pages/Clusters/NodeEditModal.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inlong-dashboard/src/ui/pages/Clusters/NodeEditModal.tsx 
b/inlong-dashboard/src/ui/pages/Clusters/NodeEditModal.tsx
index 856af46cf7..38118c8627 100644
--- a/inlong-dashboard/src/ui/pages/Clusters/NodeEditModal.tsx
+++ b/inlong-dashboard/src/ui/pages/Clusters/NodeEditModal.tsx
@@ -244,7 +244,7 @@ const NodeEditModal: React.FC<NodeEditModalProps> = ({ id, 
type, clusterId, ...m
         name: 'isInstall',
         initialValue: false,
         hidden: type !== 'AGENT',
-        visible: () => form.getFieldValue('type') === 'AGENT',
+        visible: type === 'AGENT',
         rules: [{ required: true }],
         props: {
           onChange: ({ target: { value } }) => {

Reply via email to