You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by wa...@apache.org on 2023/02/02 06:53:28 UTC
[dolphinscheduler] branch dev updated: [bug][UI]Fixed a bug where the environment name of a task could not be changed when a workflow was created(issue-12457) (#13148)
This is an automated email from the ASF dual-hosted git repository.
wanggenhua 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 615b1dbb37 [bug][UI]Fixed a bug where the environment name of a task could not be changed when a workflow was created(issue-12457) (#13148)
615b1dbb37 is described below
commit 615b1dbb37b4af1ac933d4b7c608fc6c1ecfcd05
Author: yangyang zhong <35...@users.noreply.github.com>
AuthorDate: Thu Feb 2 14:53:21 2023 +0800
[bug][UI]Fixed a bug where the environment name of a task could not be changed when a workflow was created(issue-12457) (#13148)
---
.../views/projects/task/components/node/fields/use-environment-name.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts
index 17b293eeba..0f959ebdfb 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts
@@ -49,7 +49,7 @@ export function useEnvironmentName(
if (options.value.length === 0) {
model.environmentCode = null
} else {
- isCreate && (model.environmentCode = options.value[0].value)
+ (isCreate && !model.environmentCode) && (model.environmentCode = options.value[0].value)
}
}