From 4f4fd9ee8b3315bc433b1893dbff008efdb03230 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 수, 22 12월 2021 16:36:06 +0900
Subject: [PATCH] - API 설정 화면에서 프로젝트에서 설정된 이슈유형만 보여주도록 수정

---
 src/main/webapp/scripts/config.js |   31 ++++++++++++-------------------
 1 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/src/main/webapp/scripts/config.js b/src/main/webapp/scripts/config.js
index 80eab3a..60ab2f5 100644
--- a/src/main/webapp/scripts/config.js
+++ b/src/main/webapp/scripts/config.js
@@ -73,9 +73,6 @@
                 //  理쒓퀬愿�由ъ옄 議댁옱 �뿬遺�
                 $rootScope.hasSuperUser = false;
 
-                //  硫붿씤 寃��깋 �뿬遺�
-                $rootScope.isMainSearch = false;
-
                 // ���떆蹂대뱶 �꽑�깮 0:�쟾泥� 1:�봽濡쒖젥�듃
                 $rootScope.dashboard = 0;
 
@@ -288,17 +285,17 @@
                     return false;
                 };
 
-                $rootScope.getMyInfo = function () {
-
-                    User.findMyLevelAndDepartment($resourceProvider.getContent({},
-                        $resourceProvider.getPageContent(0, 0))).then(function (result) {
-
-                        if (result.data.message.status === "success") {
-                            $rootScope.myLevel = result.data.data.levelName
-                            $rootScope.myDepartments = result.data.data.departmentName
-                        }
-                    });
-                }
+                // $rootScope.getMyInfo = function () {
+                //
+                //     User.findMyLevelAndDepartment($resourceProvider.getContent({},
+                //         $resourceProvider.getPageContent(0, 0))).then(function (result) {
+                //
+                //         if (result.data.message.status === "success") {
+                //             $rootScope.myLevel = result.data.data.levelName
+                //             $rootScope.myDepartments = result.data.data.departmentName
+                //         }
+                //     });
+                // }
 
                 /*$rootScope.checkMngPermissionViewIssueAndProject = function (userPermission) {
                     if (!$rootScope.isDefined($rootScope.user)) {
@@ -552,7 +549,7 @@
                     //  �씠�뒋 紐⑸줉->�긽�꽭�솕硫댁뿉�꽌 留덉�留됱쑝濡� �젒洹쇳븳 �씠�뒋 �븘�씠�뵒 - �씪�슦�듃 �깉�븣留덈떎 珥덇린�솕
                     $rootScope.currentDetailIssueId = null;
                     // �궗�슜�옄 �젙蹂대�� 媛��졇�삩�떎.
-                    $rootScope.getMyInfo();
+                    // $rootScope.getMyInfo();
 
                     $log.debug("toState.name : ", toState.name);
                     $log.debug("$rootScope.previousStateName �솗�씤 : ", $rootScope.previousStateName);
@@ -570,10 +567,6 @@
                         }
                     }
 
-                    // �씠�뒋 寃��깋 �럹�씠吏��뿉�꽌 踰쀬뼱�궇 寃쎌슦 泥섎━
-                    if ($rootScope.isMainSearch) {
-                        $rootScope.isMainSearch = false;
-                    }
                 });
 
                 //  if ui-router $http occur error, trigger this event

--
Gitblit v1.8.0