Merge branch 'master' into new-branding
This commit is contained in:
commit
db8a6a842c
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "2.12.11",
|
||||
"version": "2.12.12",
|
||||
"npmClient": "yarn",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
|
|
|
@ -58,9 +58,11 @@
|
|||
}
|
||||
|
||||
const getAutomationNameError = name => {
|
||||
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 (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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue