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", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*" "packages/*"

View File

@ -58,9 +58,11 @@
} }
const getAutomationNameError = name => { const getAutomationNameError = name => {
for (const [key, value] of Object.entries(stepNames)) { if (stepNames) {
if (name === value && key !== block.id) { for (const [key, value] of Object.entries(stepNames)) {
return "This name already exists, please enter a unique name" if (name === value && key !== block.id) {
return "This name already exists, please enter a unique name"
}
} }
} }