[이슈처리 5] MyTalk 에서 unread count 보이는 문제 수정.
This commit is contained in:
parent
447577aa1b
commit
d90e93f0c6
|
@ -171,6 +171,11 @@
|
|||
[userInfos]="userInfoList"
|
||||
[loginRes]="loginRes"
|
||||
[sessionVerInfo]="sessionVerInfo"
|
||||
[isShowUnreadCount]="
|
||||
roomInfo.roomType !== RoomType.Mytalk &&
|
||||
roomInfo.roomType !== RoomType.Bot &&
|
||||
roomInfo.roomType !== RoomType.Allim
|
||||
"
|
||||
(moreEvent)="onMoreEvent($event)"
|
||||
(massDetail)="onMassDetail($event)"
|
||||
(save)="onSave($event)"
|
||||
|
|
|
@ -151,6 +151,8 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
|
||||
snackBarPreviewEvent: MatSnackBarRef<SimpleSnackBar>;
|
||||
|
||||
RoomType = RoomType;
|
||||
|
||||
constructor(
|
||||
private store: Store<any>,
|
||||
private sessionStorageService: SessionStorageService,
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
<div class="time secondary-text">
|
||||
<ul>
|
||||
<li>{{ getUnreadCount(message) }}</li>
|
||||
<li *ngIf="isShowUnreadCount">{{ getUnreadCount(message) }}</li>
|
||||
<li>
|
||||
{{ moment(message.sendDate).toDate() | date: 'a hh:mm' }}
|
||||
</li>
|
||||
|
|
|
@ -42,6 +42,8 @@ export class MessagesComponent implements OnInit {
|
|||
userInfos?: UserInfo[];
|
||||
@Input()
|
||||
sessionVerInfo: VersionInfo2Response;
|
||||
@Input()
|
||||
isShowUnreadCount = true;
|
||||
|
||||
@Output()
|
||||
openProfile = new EventEmitter<UserInfo>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user