프로필 팝업에 동료 핸들링 버튼 활성화 수정.
그룹 > 검색 > 프로필 오픈 > 동료추가,삭제버튼 핸들링 오류
This commit is contained in:
parent
af80f08b9d
commit
5d687aa616
|
@ -481,20 +481,7 @@ export class GroupComponent implements OnInit, OnDestroy {
|
||||||
);
|
);
|
||||||
switch (menuType) {
|
switch (menuType) {
|
||||||
case 'VIEW_PROFILE':
|
case 'VIEW_PROFILE':
|
||||||
let useBuddyButton = false;
|
this.onClickOpenProfile(userInfo.seq, group);
|
||||||
if (
|
|
||||||
!!group &&
|
|
||||||
environment.productConfig.CommonSetting.useMyDeptGroup &&
|
|
||||||
environment.productConfig.CommonSetting.myDeptGroupSeq !== group.seq
|
|
||||||
) {
|
|
||||||
useBuddyButton = true;
|
|
||||||
}
|
|
||||||
this.openProfile.emit({
|
|
||||||
userSeq: userInfo.seq,
|
|
||||||
openProfileOptions: {
|
|
||||||
useBuddyButton
|
|
||||||
}
|
|
||||||
});
|
|
||||||
break;
|
break;
|
||||||
case 'CHAT':
|
case 'CHAT':
|
||||||
this.onSelectBuddy(userInfo);
|
this.onSelectBuddy(userInfo);
|
||||||
|
@ -630,21 +617,27 @@ export class GroupComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
onClickOpenProfile(userSeq: number, group: GroupDetailData) {
|
onClickOpenProfile(userSeq: number, group: GroupDetailData) {
|
||||||
let useBuddyButton = false;
|
if (this.isShowSearch) {
|
||||||
if (
|
this.openProfile.emit({
|
||||||
!!group &&
|
userSeq
|
||||||
environment.productConfig.CommonSetting.useMyDeptGroup &&
|
});
|
||||||
environment.productConfig.CommonSetting.myDeptGroupSeq !== group.seq
|
} else {
|
||||||
) {
|
let useBuddyButton = false;
|
||||||
useBuddyButton = true;
|
if (
|
||||||
}
|
!!group &&
|
||||||
|
environment.productConfig.CommonSetting.useMyDeptGroup &&
|
||||||
this.openProfile.emit({
|
environment.productConfig.CommonSetting.myDeptGroupSeq !== group.seq
|
||||||
userSeq,
|
) {
|
||||||
openProfileOptions: {
|
useBuddyButton = true;
|
||||||
useBuddyButton
|
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
this.openProfile.emit({
|
||||||
|
userSeq,
|
||||||
|
openProfileOptions: {
|
||||||
|
useBuddyButton
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onContextMenuProfile(
|
onContextMenuProfile(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user