fix: space redirections (#2069)

This commit is contained in:
sriram veeraghanta 2023-09-04 01:50:49 +05:30 committed by GitHub
parent 4ea52302ba
commit d3a9a764dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 27 deletions

View file

@ -23,8 +23,7 @@ export const IssueListBlock = observer(({ issue }: { issue: IIssue }) => {
const handleBlockClick = () => {
issueDetailStore.setPeekId(issue.id);
router.replace(
`/[workspace_slug]/[project_slug]`,
router.push(
{
pathname: `/${workspace_slug?.toString()}/${project_slug}`,
query: {
@ -32,9 +31,9 @@ export const IssueListBlock = observer(({ issue }: { issue: IIssue }) => {
peekId: issue.id,
},
},
undefined,
{ shallow: true }
);
// router.push(`/${workspace_slug?.toString()}/${project_slug}?board=${board?.toString()}&peekId=${issue.id}`);
};
return (