bugfix
This commit is contained in:
parent
d3f67d587b
commit
2bd3e42cc7
|
@ -295,5 +295,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -524,6 +524,10 @@ export class OrganizationComponent
|
|||
|
||||
/** 전체선택 이벤트 */
|
||||
onCheckAllUser(value: boolean) {
|
||||
if (!this.loginRes) {
|
||||
return false;
|
||||
}
|
||||
|
||||
this.checkAllUser.emit({
|
||||
isChecked: value,
|
||||
userInfos: (this.isShowSearch
|
||||
|
@ -543,7 +547,7 @@ export class OrganizationComponent
|
|||
this.checkUser.emit(params);
|
||||
}
|
||||
onToggleUser(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) {
|
||||
if (userInfo.seq === this.loginRes.userSeq) {
|
||||
if (!this.loginRes || userInfo.seq === this.loginRes.userSeq) {
|
||||
return;
|
||||
}
|
||||
this.toggleUser.emit(userInfo);
|
||||
|
@ -647,7 +651,7 @@ export class OrganizationComponent
|
|||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
if (userInfo.seq === this.loginRes.userSeq) {
|
||||
if (!this.loginRes || userInfo.seq === this.loginRes.userSeq) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -180,7 +180,9 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||
this.roomInfoSubscription = this.roomInfo$.subscribe(roomInfo => {
|
||||
if (
|
||||
!this.roomInfo ||
|
||||
(!!this.roomInfo && this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||
(!!this.roomInfo &&
|
||||
!!roomInfo &&
|
||||
this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||
) {
|
||||
this.baseEventSeq = 0;
|
||||
}
|
||||
|
@ -201,7 +203,9 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||
|
||||
if (
|
||||
!this.roomInfo ||
|
||||
(!!this.roomInfo && this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||
(!!this.roomInfo &&
|
||||
!!roomInfo &&
|
||||
this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||
) {
|
||||
this.initEventMore();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user