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) {
|
onCheckAllUser(value: boolean) {
|
||||||
|
if (!this.loginRes) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
this.checkAllUser.emit({
|
this.checkAllUser.emit({
|
||||||
isChecked: value,
|
isChecked: value,
|
||||||
userInfos: (this.isShowSearch
|
userInfos: (this.isShowSearch
|
||||||
@ -543,7 +547,7 @@ export class OrganizationComponent
|
|||||||
this.checkUser.emit(params);
|
this.checkUser.emit(params);
|
||||||
}
|
}
|
||||||
onToggleUser(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) {
|
onToggleUser(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) {
|
||||||
if (userInfo.seq === this.loginRes.userSeq) {
|
if (!this.loginRes || userInfo.seq === this.loginRes.userSeq) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.toggleUser.emit(userInfo);
|
this.toggleUser.emit(userInfo);
|
||||||
@ -647,7 +651,7 @@ export class OrganizationComponent
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
if (userInfo.seq === this.loginRes.userSeq) {
|
if (!this.loginRes || userInfo.seq === this.loginRes.userSeq) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,7 +180,9 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||||||
this.roomInfoSubscription = this.roomInfo$.subscribe(roomInfo => {
|
this.roomInfoSubscription = this.roomInfo$.subscribe(roomInfo => {
|
||||||
if (
|
if (
|
||||||
!this.roomInfo ||
|
!this.roomInfo ||
|
||||||
(!!this.roomInfo && this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
(!!this.roomInfo &&
|
||||||
|
!!roomInfo &&
|
||||||
|
this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||||
) {
|
) {
|
||||||
this.baseEventSeq = 0;
|
this.baseEventSeq = 0;
|
||||||
}
|
}
|
||||||
@ -201,7 +203,9 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
!this.roomInfo ||
|
!this.roomInfo ||
|
||||||
(!!this.roomInfo && this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
(!!this.roomInfo &&
|
||||||
|
!!roomInfo &&
|
||||||
|
this.roomInfo.roomSeq !== roomInfo.roomSeq)
|
||||||
) {
|
) {
|
||||||
this.initEventMore();
|
this.initEventMore();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user