From 868772ef6b54eb1286337b45eb9a386250c7032a Mon Sep 17 00:00:00 2001 From: v_haifxu Date: Fri, 26 Apr 2024 16:52:36 +0800 Subject: [PATCH] [INLONG-10082][Dashboard] Fixed missing pulsar tenant field when updating group info --- 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({