Fix jshint errors

This commit is contained in:
mabashian 2019-07-15 16:17:48 -04:00 committed by Ryan Petrello
parent e0cdc4ff80
commit 83f9681941
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -585,8 +585,8 @@ export default ['$scope', 'TemplatesService',
$scope.confirmNodeForm = (nodeFormData) => {
const { edgeType, selectedTemplate, promptData } = nodeFormData;
const isPauseNode = selectedTemplate.type === "workflow_approval"
|| selectedTemplate.unified_job_type === "workflow_approval";
const isPauseNode = selectedTemplate.type === "workflow_approval" ||
selectedTemplate.unified_job_type === "workflow_approval";
// edgeType, selectedTemplate, promptData
// can determine pause node by looking at the type (?) or maybe unified_job_type
$scope.workflowChangesUnsaved = true;