From 6b2a4e31eadf707272381ced26a81eaa557e60c0 Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Fri, 1 Apr 2022 17:41:39 +0800 Subject: [PATCH] [Fix][UI-Next][V1.0.0-Alpha] Fix the notification strategy options display error in the set parameters before timing modal. (#9314) --- .../definition/components/timing-modal.tsx | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx index d0bb4a884e..b8eb9e2717 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx @@ -102,25 +102,6 @@ export default defineComponent({ } } - const warningTypeOptions = [ - { - value: 'NONE', - label: t('project.workflow.none_send') - }, - { - value: 'SUCCESS', - label: t('project.workflow.success_send') - }, - { - value: 'FAILURE', - label: t('project.workflow.failure_send') - }, - { - value: 'ALL', - label: t('project.workflow.all_send') - } - ] - const priorityOptions = [ { value: 'HIGHEST', @@ -235,7 +216,6 @@ export default defineComponent({ crontabRef, parallelismRef, priorityOptions, - warningTypeOptions, environmentOptions, hideModal, handleTiming, @@ -342,7 +322,24 @@ export default defineComponent({ path='warningType' >