Browse Source

[Fix-14601][UI] Ironed out the issue with choosing an environment on the task form of both types of DMS and DATASYNC. (#14605)

* worked out this issue
3.2.1-prepare
calvin 1 year ago committed by GitHub
parent
commit
fc65c185dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datasync.ts
  2. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dms.ts

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datasync.ts

@ -69,7 +69,7 @@ export function useDatasync({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dms.ts

@ -70,7 +70,7 @@ export function useDms({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

Loading…
Cancel
Save