You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2022/04/18 10:20:35 UTC

[dolphinscheduler] branch dev updated: fix workflow instance can not be save bug (#9554)

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

liudongkai 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 01f3dcd03b fix workflow instance can not be save bug (#9554)
01f3dcd03b is described below

commit 01f3dcd03b8687367c69452bc360c535cdb7de4f
Author: Devosend <de...@gmail.com>
AuthorDate: Mon Apr 18 18:20:29 2022 +0800

    fix workflow instance can not be save bug (#9554)
---
 .../src/views/projects/workflow/components/dag/dag-toolbar.tsx         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx
index 4ff8c2cb4e..6b78cb7807 100644
--- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx
@@ -497,7 +497,8 @@ export default defineComponent({
             secondary
             round
             disabled={
-              props.definition?.processDefinition?.releaseState === 'ONLINE'
+              props.definition?.processDefinition?.releaseState === 'ONLINE' &&
+              !props.instance
             }
             onClick={() => {
               context.emit('saveModelToggle', true)