fix: clear selected books after assigning to a shelf

This commit is contained in:
aditya.chandel
2025-06-27 16:46:24 -06:00
committed by Aditya Chandel
parent 9b589748ac
commit b76c0023ba
4 changed files with 59 additions and 56 deletions
@@ -650,6 +650,9 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
openShelfAssigner(): void {
this.dynamicDialogRef = this.dialogHelperService.openShelfAssigner(this.selectedBooks);
this.dynamicDialogRef.onClose.subscribe(() => {
this.selectedBooks = new Set<number>();
});
}
lockUnlockMetadata(): void {