pagination and sort fix

This commit is contained in:
Łukasz Góreczny 2021-01-25 18:38:50 +01:00
parent 8ff2711363
commit b6204e81e7

View File

@ -126,8 +126,14 @@ export class NewShopkeeperDialogComponent implements OnInit {
} }
}); });
this.finalDataSource.paginator = this.paginatorForFinal;
this.finalDataSource.sort = this.sortForFinal;
this.selection.clear(); this.selection.clear();
this.dataSourceWithAllitems.sort = this.sort;
this.dataSourceWithAllitems.paginator = this.paginator;
stepper.next(); stepper.next();
} }