Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: page open in new tab action (#6408)

Aaryan Khandelwal8ea0772a1b42
diff --git a/web/core/hooks/use-page-operations.ts b/web/core/hooks/use-page-operations.ts
index 93d8b8ad28..d16fd1c04f 100644
--- a/web/core/hooks/use-page-operations.ts
+++ b/web/core/hooks/use-page-operations.ts
@@ -77,7 +77,7 @@ export const usePageOperations = (
}
},
move: async () => {},
- openInNewTab: () => window.open(`/${pageLink}`, "_blank"),
+ openInNewTab: () => window.open(pageLink, "_blank"),
toggleAccess: async () => {
const changedPageType = access === EPageAccess.PUBLIC ? "private" : "public";
try {