Folder: Folder name update redirects to desired location, for grafana served with subpath (#60721)

This commit is contained in:
yusuf-multhan 2022-12-23 21:59:41 +05:30 committed by GitHub
parent f72cbc16ad
commit bb5ac924ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`));
};
}