mirror of
https://github.com/strapi/strapi.git
synced 2025-10-11 16:13:12 +00:00
Merge pull request #5342 from strapi/fix/ctm-related-redirect
Fixes the wrong redirection in content manager
This commit is contained in:
commit
a5cfe98c70
@ -127,7 +127,8 @@ const EditView = ({
|
||||
const redirectURL = search
|
||||
.split('redirectUrl=')
|
||||
.filter((_, index) => index !== 0)
|
||||
.join('');
|
||||
.join('redirectUrl=');
|
||||
|
||||
const redirectToPreviousPage = () => push(redirectURL);
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user