mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
FolderPage: Do not create browser history when adding slug to url (#52695)
This commit is contained in:
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 };
|
||||
|
Loading…
Reference in New Issue
Block a user