This is an automated email from the ASF dual-hosted git repository.
zihaoxiang 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 af578124a5 fix switch status button not show correctly (#15686)
af578124a5 is described below
commit af578124a5cb4f6522d2525f2f7047eb95013e72
Author: lch <[email protected]>
AuthorDate: Mon Mar 11 10:47:43 2024 +0800
fix switch status button not show correctly (#15686)
Co-authored-by: xiangzihao <[email protected]>
---
dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts
b/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts
index fc286d7d0c..838a1d39cb 100644
--- a/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts
+++ b/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts
@@ -147,6 +147,7 @@ export function useTable(
parseTime(item.updateTime),
'yyyy-MM-dd HH:mm:ss'
)
+ item.status = (item.status == 'YES') ? 1 : 0
return {
...item
}