Remove sort persistence

This commit is contained in:
aditya.chandel
2025-03-08 00:09:03 -07:00
parent 39387c1e97
commit 59ff589bd2
3 changed files with 0 additions and 41 deletions
@@ -367,11 +367,6 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
switchMap(({entityId, entityType}) => this.fetchBooksByEntity(entityId, entityType))
);
}
if (this.entityType === EntityType.LIBRARY) {
this.libraryService.updateSort(this.entity?.id!, sortOption).subscribe();
} else if (this.entityType === EntityType.SHELF) {
this.shelfService.updateSort(this.entity?.id!, sortOption).subscribe();
}
}
private setSelectedSortFromEntity(entity: Library | Shelf | null): void {