From 10968a591233e2c1da134037a7935b73715adff7 Mon Sep 17 00:00:00 2001 From: iandebruin98 Date: Wed, 23 Oct 2024 09:54:18 +0200 Subject: [PATCH] fix: Use relative path for the back button to the document --- packages/resource-detail/src/resource-detail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/resource-detail/src/resource-detail.tsx b/packages/resource-detail/src/resource-detail.tsx index 17071cfd8..6563a3e82 100644 --- a/packages/resource-detail/src/resource-detail.tsx +++ b/packages/resource-detail/src/resource-detail.tsx @@ -183,7 +183,7 @@ function ResourceDetail({ const backUrlId = getIdFromHash(); if (backUrlId) { - url = url.replace('[id]', backUrlId); + url = backUrlIdRelativePath.replace('[id]', backUrlId); } }