fix(table-view): table-view to also actually select all when users select press all (#645)
This commit is contained in:
@@ -851,15 +851,9 @@ export class BookBrowserComponent implements AfterViewInit {
|
||||
this.appBooksApi.fetchAllBookIds().pipe(take(1)).subscribe({
|
||||
next: (allIds) => {
|
||||
this.bookSelectionService.selectAll(allIds);
|
||||
if (this.bookTableComponent) {
|
||||
this.bookTableComponent.selectAllBooks();
|
||||
}
|
||||
},
|
||||
error: () => {
|
||||
this.bookSelectionService.selectAll();
|
||||
if (this.bookTableComponent) {
|
||||
this.bookTableComponent.selectAllBooks();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user