fix bug with smtp name containing parentheses
This commit is contained in:
parent
b1f05eba42
commit
3eba7990f9
|
@ -57,14 +57,15 @@
|
|||
}
|
||||
|
||||
const getAutomationNameError = name => {
|
||||
if (name.length > 0) {
|
||||
if (name !== block.name && block.name.includes(name)) {
|
||||
if (name?.length > 0) {
|
||||
let invalidRoleName = !validRegex.test(name)
|
||||
if (invalidRoleName) {
|
||||
return "Please enter a role name consisting of only alphanumeric symbols and underscores"
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
}}
|
||||
|
||||
const startTyping = async () => {
|
||||
typing = true
|
||||
|
|
Loading…
Reference in New Issue