From 97abf8cfb6383f79d40dc03460c90baf37c00589 Mon Sep 17 00:00:00 2001 From: Roel Arents Date: Tue, 10 Dec 2024 13:07:57 +0100 Subject: [PATCH] fix viewer shouldnt convert url to lowercase PDOK-17366 --- viewer/src/app/feature-view/feature-view.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewer/src/app/feature-view/feature-view.component.ts b/viewer/src/app/feature-view/feature-view.component.ts index 1da7b59f..a8470901 100644 --- a/viewer/src/app/feature-view/feature-view.component.ts +++ b/viewer/src/app/feature-view/feature-view.component.ts @@ -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 = '' + featureId + ''