유저검색 팝업에 본인 검색되지 않도록 수정
This commit is contained in:
parent
002ecf23dd
commit
c349500718
|
@ -274,7 +274,12 @@ export class GroupComponent implements OnInit, OnDestroy {
|
|||
map(res => {
|
||||
switch (res.SSVC_TYPE) {
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_DATA:
|
||||
searchUserInfos.push(...(res as DeptUserData).userInfos);
|
||||
const userInfos = (res as DeptUserData).userInfos;
|
||||
searchUserInfos.push(
|
||||
...userInfos.filter(
|
||||
userInfo => userInfo.seq !== this.loginRes.userSeq
|
||||
)
|
||||
);
|
||||
break;
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_RES:
|
||||
{
|
||||
|
|
|
@ -266,7 +266,12 @@ export class OrganizationComponent
|
|||
map(res => {
|
||||
switch (res.SSVC_TYPE) {
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_DATA:
|
||||
searchUserInfos.push(...(res as DeptUserData).userInfos);
|
||||
const userInfos = (res as DeptUserData).userInfos;
|
||||
searchUserInfos.push(
|
||||
...userInfos.filter(
|
||||
userInfo => userInfo.seq !== this.loginRes.userSeq
|
||||
)
|
||||
);
|
||||
break;
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_RES:
|
||||
{
|
||||
|
|
|
@ -323,7 +323,12 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
|
|||
map(res => {
|
||||
switch (res.SSVC_TYPE) {
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_DATA:
|
||||
searchUserInfos.push(...(res as DeptUserData).userInfos);
|
||||
const userInfos = (res as DeptUserData).userInfos;
|
||||
searchUserInfos.push(
|
||||
...userInfos.filter(
|
||||
userInfo => userInfo.seq !== this.loginRes.userSeq
|
||||
)
|
||||
);
|
||||
break;
|
||||
case SSVC_TYPE_QUERY_DEPT_USER_RES:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user