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:
2021-11-10 10:53:07 +05:30
parent 3b8c972c48
commit ffd46bf717
59 changed files with 2139 additions and 251 deletions

View File

@ -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() {}