# 이슈처리

[10 즐겨찾기 해제하였지만 즐겨찾기 그룹에 있음] :: 즐겨찾기 인원이 없을 경우 비워주도록 수정.
This commit is contained in:
leejinho 2019-12-09 09:01:12 +09:00
parent cc7908875a
commit 2a6623f7b0

View File

@ -79,8 +79,8 @@ export class ExpansionPanelComponent
@Input()
set favoritBuddyList(userInfoList: UserInfo[]) {
if (!userInfoList || 0 === userInfoList.length) {
return;
}
this.favoritNodes = [];
} else {
const groupNode: GroupNode = {
nodeType: NodeType.Favorit,
children: []
@ -94,6 +94,7 @@ export class ExpansionPanelComponent
});
this.favoritNodes = [groupNode];
}
this.refreshRootNodeList();
}