Merge branch 'master' into BUDI-7580/account_portal_submodule
This commit is contained in:
commit
3809503a99
|
@ -58,11 +58,13 @@
|
|||
}
|
||||
|
||||
const getAutomationNameError = name => {
|
||||
if (stepNames) {
|
||||
for (const [key, value] of Object.entries(stepNames)) {
|
||||
if (name === value && key !== block.id) {
|
||||
return "This name already exists, please enter a unique name"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (name !== block.name && name?.length > 0) {
|
||||
let invalidRoleName = !validRegex.test(name)
|
||||
|
|
Loading…
Reference in New Issue