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