101623: Fixes for rendersBrowseBy, BrowseResponseParsingService, BrowseByRoutingModule

This commit is contained in:
Nona Luypaert
2023-05-12 08:12:04 +02:00
parent 195ab41aac
commit 67976299de
5 changed files with 8 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ export class BrowseBySwitcherComponent implements OnInit {
*/
ngOnInit(): void {
this.browseByComponent = this.route.data.pipe(
map((data: { browseDefinition: FlatBrowseDefinition }) => this.getComponentByBrowseByType(data.browseDefinition.dataType, this.themeService.getThemeName()))
map((data: { browseDefinition: FlatBrowseDefinition }) => this.getComponentByBrowseByType(data.browseDefinition.getRenderType(), this.themeService.getThemeName()))
);
}