diff --git a/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.ts b/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.ts
index df6771d43..2be29ec1d 100644
--- a/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.ts
+++ b/booklore-ui/src/app/book/components/book-browser/book-filter/book-filter.component.ts
@@ -39,6 +39,7 @@ export class BookFilterComponent implements OnInit {
activeFilter: { type: string; value: any | null } = {type: '', value: null};
filterStreams: Record[]>> = {};
+ filterTypes: string[] = [];
bookService = inject(BookService);
@@ -52,6 +53,7 @@ export class BookFilterComponent implements OnInit {
award: this.getFilterStream((book) => book.metadata?.awards?.filter((award) => award.designation === 'WINNER'), 'name', 'name'),
publisher: this.getFilterStream((book) => (book.metadata?.publisher ? [{id: book.metadata.publisher, name: book.metadata.publisher}] : []), 'id', 'name'),
};
+ this.filterTypes = Object.keys(this.filterStreams);
}
}