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

Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
This commit is contained in:
Plane Bot
2025-01-16 13:57:16 +05:30
committed by GitHub
parent 0273f0cd59
commit b5fa81465d

View File

@@ -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 {