Skip to content

Commit

Permalink
fix viewer shouldnt convert url to lowercase (#261)
Browse files Browse the repository at this point in the history
PDOK-17366
  • Loading branch information
roelarents authored Dec 10, 2024
1 parent 2dc75f5 commit 2845d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/src/app/feature-view/feature-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class FeatureViewComponent implements OnChanges, AfterViewInit {
const featureId = feature.getId()
if (featureId) {
const items = 'items'
const itemsUrl = this.itemsUrl.toLowerCase()
const itemsUrl = this.itemsUrl
const currentUrl = new URL(itemsUrl.substring(0, itemsUrl.indexOf(items) + items.length))
const link = currentUrl.protocol + '//' + currentUrl.host + currentUrl.pathname + '/' + featureId
tooltipContent.innerHTML = '<a href="' + link + '">' + featureId + '</a>'
Expand Down

0 comments on commit 2845d57

Please sign in to comment.