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

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new d02cf85b60 [Fix][UI] fix bug where warn group name not display (#11429)
d02cf85b60 is described below

commit d02cf85b60cf39da7bbb424579abca6bb1de09ff
Author: Devosend <[email protected]>
AuthorDate: Thu Aug 11 20:58:56 2022 +0800

    [Fix][UI] fix bug where warn group name not display (#11429)
---
 .../views/projects/workflow/components/dag/dag-startup-param.tsx   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx
 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx
index 56195ec01e..5b3102c6f0 100644
--- 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx
+++ 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx
@@ -43,10 +43,7 @@ export default defineComponent({
 
     const getAlertGroupList = () => {
       listAlertGroupById().then((res: any) => {
-        alertGroupListRef.value = res.map((item: any) => ({
-          label: item.groupName,
-          value: item.id
-        }))
+        alertGroupListRef.value = res
       })
     }
 
@@ -83,7 +80,7 @@ export default defineComponent({
 
       const o = _.filter(alertGroupListRef.value, (v) => v.id === id)
       if (o && o.length) {
-        return o[0].code
+        return o[0].groupName
       }
       return '-'
     })

Reply via email to