From 435bdc4eccbf54f5082b5e97116c51b797481d49 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 금, 03 12월 2021 11:49:12 +0900
Subject: [PATCH] 프로젝트 관리자만 이메일 알림 설정 가능하도록 수정

---
 src/main/webapp/scripts/config.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/scripts/config.js b/src/main/webapp/scripts/config.js
index ec01f69..22a9427 100644
--- a/src/main/webapp/scripts/config.js
+++ b/src/main/webapp/scripts/config.js
@@ -332,7 +332,10 @@
                                             if (onEvent) {
                                                 $rootScope.$broadcast("changedLastProject", {id: el.id});
                                             }
-                                            $state.go('dashboards.dashboard');
+
+                                            if (reload) {
+                                                $state.go('dashboards.dashboard');
+                                            }
                                         }
                                     });
                                     // $state.go($state.current, {}, {reload: reload});

--
Gitblit v1.8.0