fix(table-view): table-view to also actually select all when users select press all (#645)

This commit is contained in:
brios
2026-04-22 17:27:40 -04:00
committed by Zach Yale
parent 52ed009098
commit 791a4eab6e
6 changed files with 65 additions and 45 deletions
@@ -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();
}
}
});
}