This is an automated email from the ASF dual-hosted git repository.
kirs 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 6e70e51 remove the verification of the task name in the formModel.vue
(#6464)
6e70e51 is described below
commit 6e70e51e9f730cff8653496a28c76e84823403c7
Author: Hua Jiang <[email protected]>
AuthorDate: Mon Oct 11 10:07:57 2021 +0800
remove the verification of the task name in the formModel.vue (#6464)
---
.../src/js/conf/home/pages/dag/_source/formModel/formModel.vue | 7 -------
1 file changed, 7 deletions(-)
diff --git
a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
index 06f7fe6..84efeb2 100644
---
a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
+++
b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
@@ -705,13 +705,6 @@
if (this.name === this.backfillItem.name) {
return true
}
- // Name repeat depends on dom backfill dependent store
- const tasks = this.store.state.dag.tasks
- const task = tasks.find((t) => t.name === this.name)
- if (task) {
- this.$message.warning(`${i18n.$t('Name already exists')}`)
- return false
- }
return true
},
_verifWorkGroup () {