Auto-expand first active filter panel or default to first

This commit is contained in:
aditya.chandel
2025-06-06 17:05:25 -06:00
committed by Aditya Chandel
parent 7053cfa963
commit 68dce9bd23
3 changed files with 27 additions and 14 deletions
@@ -635,6 +635,7 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
this.selectedFilter.next(parsedFilters);
this.bookFilterComponent.setFilters?.(parsedFilters);
this.bookFilterComponent.onFiltersChanged?.();
const firstFilter = filterParams.split(',')[0];
const [key, ...values] = firstFilter.split(':');