Hotfix/ Embed Tabs (#4593)
This commit is contained in:
1 parent
6e71de7ca3
commit
2f3d7318a4
5 files changed
+57
-49
No files matched your search
@@ -30,7 +30,7 @@ export function Dialog(props: DialogProps) {
|
||||
}
|
||||
router.push(
|
||||
{
|
||||
pathname: router.pathname,
|
||||
pathname: router.pathname.replace("/v2", ""),
|
||||
query: {
|
||||
...router.query,
|
||||
},
|
||||
|
||||
@@ -33,7 +33,9 @@ export function Dialog(props: DialogProps) {
|
||||
}
|
||||
router.push(
|
||||
{
|
||||
pathname: router.pathname,
|
||||
// This is temporary till we are doing rewrites to /v2.
|
||||
// If not done, opening/closing a modalbox can take the user to /v2 paths.
|
||||
pathname: router.asPath.replace("/v2", ""),
|
||||
query: {
|
||||
...router.query,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user