From 973be23908c396edc46018ca5b85b6954d689658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 24 Jul 2022 18:32:16 +0200 Subject: [PATCH] FolderPage: Do not create browser history when adding slug to url (#52695) --- public/app/features/search/components/DashboardListPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/search/components/DashboardListPage.tsx b/public/app/features/search/components/DashboardListPage.tsx index 33e0ba97a35..20e64b5d93d 100644 --- a/public/app/features/search/components/DashboardListPage.tsx +++ b/public/app/features/search/components/DashboardListPage.tsx @@ -31,7 +31,7 @@ export const DashboardListPage: FC = memo(({ match, location }) => { const path = locationUtil.stripBaseFromUrl(folder.url); if (path !== location.pathname) { - locationService.push(path); + locationService.replace(path); } return { folder, pageNav: folderNav };