Merge pull request #10907 from AlexSCorey/10872-ApprovalNodeValidation

properly validates node
This commit is contained in:
Alex Corey 2021-08-19 09:09:02 -04:00 committed by GitHub
commit 86390152bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ function getStep(
(nodeTypeField.value !== 'workflow_approval_template' &&
nodeResourceField.value === null) ||
(nodeTypeField.value === 'workflow_approval_template' &&
approvalNameField.value === undefined) ||
approvalNameField.value === '') ||
formError
) {
return false;