vs is modified
This commit is contained in:
parent
b0f7a90f3d
commit
9f9362c4bb
|
@ -4,7 +4,8 @@
|
||||||
perfectScrollbar
|
perfectScrollbar
|
||||||
fxFlexFill
|
fxFlexFill
|
||||||
#psChatContent
|
#psChatContent
|
||||||
[bufferAmount]="10"
|
[bufferAmount]="5"
|
||||||
|
[compareItems]=""
|
||||||
(psScrollUp)="onScrollup($event)"
|
(psScrollUp)="onScrollup($event)"
|
||||||
(psYReachStart)="onYReachStart($event)"
|
(psYReachStart)="onYReachStart($event)"
|
||||||
(psYReachEnd)="onYReachEnd($event)"
|
(psYReachEnd)="onYReachEnd($event)"
|
||||||
|
|
|
@ -607,4 +607,10 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
||||||
trackByEvent(index: number, info: Info<EventJson>): number {
|
trackByEvent(index: number, info: Info<EventJson>): number {
|
||||||
return info.seq;
|
return info.seq;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compareItemsFunc = (
|
||||||
|
item1: Info<EventJson>,
|
||||||
|
item2: Info<EventJson>
|
||||||
|
// tslint:disable-next-line: semicolon
|
||||||
|
): boolean => item1.seq === item2.seq;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user