fix: Form link in Reroute Dialog gives 404 for members that aren't admin/owner of team (#17537)
* fix: Form link in Reroute Dialog gives 404 for members that aren't admin/owner of team * NIT
This commit is contained in:
1 parent
cd15335eed
commit
4d38c6d0c7
5 files changed
+41
-1
No files matched your search
@@ -40,6 +40,8 @@ function PageWrapper(props: AppProps) {
|
||||
pageStatus = "404";
|
||||
} else if (router.pathname === "/500") {
|
||||
pageStatus = "500";
|
||||
} else if (router.pathname === "/403") {
|
||||
pageStatus = "403";
|
||||
}
|
||||
|
||||
// On client side don't let nonce creep into DOM
|
||||
|
||||
@@ -31,6 +31,8 @@ function PageWrapper(props: PageWrapperProps) {
|
||||
pageStatus = "404";
|
||||
} else if (pathname === "/500") {
|
||||
pageStatus = "500";
|
||||
} else if (pathname === "/403") {
|
||||
pageStatus = "403";
|
||||
}
|
||||
|
||||
// On client side don't let nonce creep into DOM
|
||||
|
||||
Reference in new issue
Block a user