대화방 > 프로필 > 프로필 팝업 오픈 안되는 문제 수정.
This commit is contained in:
parent
b2af5a1264
commit
3a9be3ff93
|
@ -1666,14 +1666,13 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
}
|
||||
|
||||
onClickOpenProfile(userSeq: number) {
|
||||
const roomType = this.roomInfoSubject.value.roomType;
|
||||
if (
|
||||
[
|
||||
RoomType.Allim,
|
||||
RoomType.Bot,
|
||||
RoomType.Link,
|
||||
RoomType.Allim_Elephant,
|
||||
RoomType.Allim_TMS
|
||||
].some(v => v === this.roomInfoSubject.value.roomType)
|
||||
roomType !== RoomType.Allim &&
|
||||
roomType !== RoomType.Bot &&
|
||||
roomType !== RoomType.Link &&
|
||||
roomType !== RoomType.Allim_Elephant &&
|
||||
roomType !== RoomType.Allim_TMS
|
||||
) {
|
||||
this.openProfile.emit({ userSeq });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user