do in subscription

This commit is contained in:
Daniel Ponte 2025-02-17 14:07:50 -05:00
parent 3fa6ffdec1
commit 01baa5a174

View file

@ -189,9 +189,6 @@ export class CallsComponent {
setPage(p: PageEvent, force?: boolean) {
this.selection.clear();
this.curPage = p;
if (this.callsTable) {
this.callsTable.nativeElement.scrollIntoView(true);
}
if (p && p!.pageSize != this.perPage) {
this.perPage = p!.pageSize;
this.prefsSvc.set('callsPerPage', p!.pageSize);
@ -261,6 +258,9 @@ export class CallsComponent {
this.isLoading = false;
this.count = calls.count;
this.currentSet = calls.calls;
if (this.callsTable) {
this.callsTable.nativeElement.scrollIntoView(true);
}
this.callsResult.next(
this.currentSet
? this.currentSet.slice(