bug fix :: 동료그룹 >
1. 그룹 isActive 값 여부에 따라 수집. 2. 동료 isBuddy, isActive 값 여부에 따라 수집.
This commit is contained in:
parent
582b76024b
commit
46753d2f67
|
@ -90,7 +90,11 @@ export class Effects {
|
|||
map(res => {
|
||||
switch (res.SSVC_TYPE) {
|
||||
case SSVC_TYPE_SYNC_BUDDY2_DATA:
|
||||
buddyList.push(...(res as BuddyDetailData).buddyInfos);
|
||||
buddyList.push(
|
||||
...(res as BuddyDetailData).buddyInfos.filter(
|
||||
v => v.isBuddy && v.isActive
|
||||
)
|
||||
);
|
||||
break;
|
||||
case SSVC_TYPE_SYNC_BUDDY2_RES:
|
||||
this.store.dispatch(
|
||||
|
@ -124,7 +128,9 @@ export class Effects {
|
|||
map(res => {
|
||||
switch (res.SSVC_TYPE) {
|
||||
case SSVC_TYPE_SYNC_GROUP_DATA2:
|
||||
if ((res as GroupDetailData).isActive) {
|
||||
groupList.push(res as GroupDetailData);
|
||||
}
|
||||
break;
|
||||
case SSVC_TYPE_SYNC_GROUP_RES2:
|
||||
this.store.dispatch(
|
||||
|
|
Loading…
Reference in New Issue
Block a user