[v9.3.x] Folder: Folder name update redirects to desired location, for grafana served with subpath (#60737)

This commit is contained in:
Grot (@grafanabot)
2022-12-23 17:44:23 +01:00
committed by GitHub
parent 6f752ababb
commit 654ac6cd8a
+2 -1
View File
@@ -28,7 +28,8 @@ export function saveFolder(folder: FolderState): ThunkResult<void> {
});
dispatch(notifyApp(createSuccessNotification('Folder saved')));
locationService.push(`${res.url}/settings`);
dispatch(loadFolder(res));
locationService.push(locationUtil.stripBaseFromUrl(`${res.url}/settings`));
};
}