FolderPage: Do not create browser history when adding slug to url (#52695)

This commit is contained in:
Torkel Ödegaard
2022-07-24 09:32:16 -07:00
committed by GitHub
parent d0db3ab306
commit 973be23908
@@ -31,7 +31,7 @@ export const DashboardListPage: FC<Props> = memo(({ match, location }) => {
const path = locationUtil.stripBaseFromUrl(folder.url);
if (path !== location.pathname) {
locationService.push(path);
locationService.replace(path);
}
return { folder, pageNav: folderNav };