1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge branch 'master' into new-branding

This commit is contained in:
Andrew Kingston 2023-11-06 11:25:16 +00:00 committed by GitHub
commit db8a6a842c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.12.11",
"version": "2.12.12",
"npmClient": "yarn",
"packages": [
"packages/*"

View file

@ -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"
}
}
}