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 40cc17d170 [INLONG-10082][Dashboard] Fixed missing pulsar tenant field 
when updating group info (#10084)
40cc17d170 is described below

commit 40cc17d17082b5c0e5bb4b410c6ac3b3b9e10705
Author: haifxu <[email protected]>
AuthorDate: Fri Apr 26 18:15:44 2024 +0800

    [INLONG-10082][Dashboard] Fixed missing pulsar tenant field when updating 
group info (#10084)
---
 inlong-dashboard/src/ui/pages/GroupDetail/Info/index.tsx       | 3 +++
 inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/inlong-dashboard/src/ui/pages/GroupDetail/Info/index.tsx 
b/inlong-dashboard/src/ui/pages/GroupDetail/Info/index.tsx
index 54ebbbe5b8..c7d265adc1 100644
--- a/inlong-dashboard/src/ui/pages/GroupDetail/Info/index.tsx
+++ b/inlong-dashboard/src/ui/pages/GroupDetail/Info/index.tsx
@@ -70,6 +70,9 @@ const Comp = ({ inlongGroupId, readonly, isCreate }: Props, 
ref) => {
 
     if (isUpdate) {
       submitData.inlongGroupId = inlongGroupId;
+      if (mqType == 'PULSAR') {
+        submitData.pulsarTenat = form.getFieldValue('pulsarTenant');
+      }
     }
 
     const result = await request({
diff --git a/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx 
b/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
index 58744a3fa5..e6251dcad4 100644
--- a/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
+++ b/inlong-dashboard/src/ui/pages/SynchronizeDetail/Info/index.tsx
@@ -119,6 +119,9 @@ const Comp = ({ inlongGroupId, inlongStreamId, readonly, 
isCreate }: Props, ref)
     if (isUpdate) {
       submitData.inlongGroupId = inlongGroupId;
       submitData.inlongStreamId = inlongStreamId;
+      if (mqType == 'PULSAR') {
+        submitData.pulsarTenat = form.getFieldValue('pulsarTenant');
+      }
     }
 
     const result = await request({

Reply via email to