Skip to content
Snippets Groups Projects
Commit c125f36f authored by Art Lowel's avatar Art Lowel
Browse files

fixed an issue where browse definition REST URLs would be wrong in certain cases

parent 60366e3e
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ export class BrowseService {
getBrowseURLFor(metadatumKey: string, linkPath: string): Observable<string> {
const searchKeyArray = BrowseService.toSearchKeyArray(metadatumKey);
return this.halService.getEndpoint(linkPath)
return this.halService.getEndpoint(this.linkPath)
.filter((href: string) => isNotEmpty(href))
.distinctUntilChanged()
.map((endpointURL: string) => new BrowseEndpointRequest(this.requestService.generateRequestId(), endpointURL))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment