You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/03/17 08:31:03 UTC

[dolphinscheduler] branch dev updated: [Fix][UI Next][V1.0.0-Alpha] Fix the stop button tips error and its uncorrect state when the record state is STOP. (#8960)

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 b9e89b1  [Fix][UI Next][V1.0.0-Alpha] Fix the stop button tips error and its uncorrect state when the record state is STOP. (#8960)
b9e89b1 is described below

commit b9e89b1922c979e1b4273564ee3bb8708e36f54a
Author: Amy0104 <97...@users.noreply.github.com>
AuthorDate: Thu Mar 17 16:30:53 2022 +0800

    [Fix][UI Next][V1.0.0-Alpha] Fix the stop button tips error and its uncorrect state when the record state is STOP. (#8960)
---
 .../views/projects/workflow/instance/components/table-action.tsx    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx
index cc89596..b5afa82 100644
--- a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx
@@ -191,8 +191,8 @@ export default defineComponent({
         <NTooltip trigger={'hover'}>
           {{
             default: () =>
-              state === 'PAUSE'
-                ? t('project.workflow.recovery_failed')
+              state === 'STOP'
+                ? t('project.workflow.recovery_suspend')
                 : t('project.workflow.stop'),
             trigger: () => (
               <NButton
@@ -202,7 +202,7 @@ export default defineComponent({
                 circle
                 onClick={this.handleStop}
                 disabled={
-                  (state !== 'RUNNING_EXECUTION' && state !== 'PAUSE') ||
+                  (state !== 'RUNNING_EXECUTION' && state !== 'STOP') ||
                   this.row?.disabled
                 }
               >