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

wangyang 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 89a55de070 [Bug] [UI] New tasks with the flag normal show a grey color 
(#14862)
89a55de070 is described below

commit 89a55de0706be0ea628fc7acd163240436c442e9
Author: 旺阳 <[email protected]>
AuthorDate: Thu Sep 7 10:12:44 2023 +0800

    [Bug] [UI] New tasks with the flag normal show a grey color (#14862)
---
 .../src/views/projects/workflow/components/dag/use-task-edit.ts     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
index 4590490eb3..69fc85cb19 100644
--- 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
+++ 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
@@ -168,9 +168,9 @@ export function useTaskEdit(options: Options) {
       processDefinition.value.taskDefinitionList.map((task) => {
         if (task.code === currTask.value?.code) {
           setNodeName(task.code + '', taskDef.name)
-          let fillColor = '#f3f3f5'
-          if (task.flag === 'NO') {
-            fillColor = '#ffffff'
+          let fillColor = '#ffffff'
+          if (task.flag === 'YES') {
+            fillColor = '#f3f3f5'
           }
           setNodeFillColor(task.code + '', fillColor)
 

Reply via email to