Skip to content

Commit 531d328

Browse files
committed
Fix resolving the wrong segment of the route in the comcol search component
1 parent 6cecd0a commit 531d328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/comcol/sections/comcol-search-section/comcol-search-section.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class ComcolSearchSectionComponent implements OnInit {
5555
}
5656

5757
ngOnInit(): void {
58-
this.comcol$ = this.route.data.pipe(
58+
this.comcol$ = this.route.parent.data.pipe(
5959
map((data: Data) => (data.dso as RemoteData<Community | Collection>).payload),
6060
);
6161
this.showSidebar$ = this.comcol$.pipe(

0 commit comments

Comments
 (0)