From a75bcc7c2b0fc98bd3a8abc100a4ad4ec11b9c26 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 화, 28 12월 2021 15:54:35 +0900
Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa

---
 src/main/webapp/custom_components/js-workflow/js-workflow.directive.js |   35 +++++++++++++++++++----------------
 1 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js
index a227475..6c99bba 100644
--- a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js
+++ b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js
@@ -669,24 +669,27 @@
                             if ($scope.vm.activeTarget != null) {
                                 var targetIssueStatus = $scope.vm.activeTarget.issueStatus;
 
-                                var myIssueStatus = null;
-                                angular.forEach($scope.vm.issueStatusVos, function (issueStatusVo) {
-                                    if (issueStatusVo.id === targetIssueStatus.id) {
-                                        myIssueStatus = issueStatusVo;
-                                    }
-                                });
+                                // null 泥댄겕
+                                if (targetIssueStatus != null) {
+                                    var myIssueStatus = null;
+                                    angular.forEach($scope.vm.issueStatusVos, function (issueStatusVo) {
+                                        if (issueStatusVo.id === targetIssueStatus.id) {
+                                            myIssueStatus = issueStatusVo;
+                                        }
+                                    });
 
-                                if (myIssueStatus != null) {
-                                    if ($scope.vm.departments != null) {
-                                        var workflowDepartments = [];
+                                    if (myIssueStatus != null) {
+                                        if ($scope.vm.departments != null) {
+                                            var workflowDepartments = [];
 
-                                        angular.forEach($scope.vm.departments, function (department) {
-                                            var workflowDepartment = {
-                                                departmentVo : department
-                                            }
-                                            workflowDepartments.push(workflowDepartment);
-                                        });
-                                        myIssueStatus.workflowDepartmentVos = workflowDepartments;
+                                            angular.forEach($scope.vm.departments, function (department) {
+                                                var workflowDepartment = {
+                                                    departmentVo : department
+                                                }
+                                                workflowDepartments.push(workflowDepartment);
+                                            });
+                                            myIssueStatus.workflowDepartmentVos = workflowDepartments;
+                                        }
                                     }
                                 }
                             }

--
Gitblit v1.8.0