mirror of
https://github.com/strapi/strapi.git
synced 2025-10-12 16:43:39 +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
|
const redirectURL = search
|
||||||
.split('redirectUrl=')
|
.split('redirectUrl=')
|
||||||
.filter((_, index) => index !== 0)
|
.filter((_, index) => index !== 0)
|
||||||
.join('');
|
.join('redirectUrl=');
|
||||||
|
|
||||||
const redirectToPreviousPage = () => push(redirectURL);
|
const redirectToPreviousPage = () => push(redirectURL);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user