Feature: Recipe module mostly working. What needs to be done is duplicating recipes and export for checking.
Feature: Non Contract Purchases Report
This commit is contained in:
@ -39,16 +39,15 @@ export class ProductListDataSource extends DataSource<Product> {
|
||||
dataMutations.push((this.sort as MatSort).sortChange);
|
||||
}
|
||||
|
||||
return merge(...dataMutations)
|
||||
.pipe(
|
||||
map(() => this.getFilteredData([...this.data])),
|
||||
tap((x: Product[]) => {
|
||||
if (this.paginator) {
|
||||
this.paginator.length = x.length;
|
||||
}
|
||||
}),
|
||||
)
|
||||
.pipe(map((x: Product[]) => this.getPagedData(this.getSortedData(x))));
|
||||
return merge(...dataMutations).pipe(
|
||||
map(() => this.getFilteredData([...this.data])),
|
||||
tap((x: Product[]) => {
|
||||
if (this.paginator) {
|
||||
this.paginator.length = x.length;
|
||||
}
|
||||
}),
|
||||
map((x: Product[]) => this.getPagedData(this.getSortedData(x))),
|
||||
);
|
||||
}
|
||||
|
||||
disconnect() {}
|
||||
|
||||
Reference in New Issue
Block a user