From 6a3012e7af76e435ee2cacb8f0cd06dc687a9bd4 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 화, 15 2월 2022 10:40:27 +0900 Subject: [PATCH] Merge branch 'master' of http://192.168.0.28:9001/r/owl-kisa --- src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js b/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js index 92ee0a0..a973f67 100644 --- a/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js +++ b/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js @@ -51,7 +51,13 @@ break; } } - + for (let i = 0; i < $scope.lists.length; i++) { + if(JSON.stringify($scope.lists[i]) === JSON.stringify(key)) { + makeTag = ""; + makeTag += "<p>"+target.fieldValue+"</p>"; + return; + } + } makeTag += "<span ng-click='fn.remove(" + key.fieldKey + ")'>횞</span>"; makeTag += "</p>"; }); -- Gitblit v1.8.0