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

xincheng 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 e984300253 [bug] [dolphinscheduler-ui] UI timed scheduler Improvement 
(#15624)
e984300253 is described below

commit e9843002538dec9a21f1ef0383136fc699ff197b
Author: 王渔 <[email protected]>
AuthorDate: Wed Mar 6 10:02:16 2024 +0800

    [bug] [dolphinscheduler-ui] UI timed scheduler Improvement (#15624)
    
    * Update use-table.ts
    
    * [Fix][CI] Remove useless code
    
    * [Fix][CI] Remove useless code
    
    * [Fix][CI] Remove useless code
    
    ---------
    
    Co-authored-by: Rick Cheng <[email protected]>
    Co-authored-by: 旺阳 <[email protected]>
    Co-authored-by: xiangzihao <[email protected]>
---
 .../src/views/projects/workflow/definition/use-table.ts              | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts 
b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts
index 914c10a15a..4fe520aa1c 100644
--- a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts
+++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts
@@ -366,6 +366,11 @@ export function useTable() {
       if (data.releaseState === 'ONLINE') {
         variables.setTimingDialogShowRef = true
         variables.row = row
+        if (row?.schedule) {
+          variables.row = row.schedule
+          variables.timingType = 'update'
+          variables.timingState = row.scheduleReleaseState
+        }
       } else {
         window.$message.success(t('project.workflow.success'))
       }

Reply via email to