Skip to content

Commit

Permalink
fix: preserve page access when making a copy
Browse files Browse the repository at this point in the history
  • Loading branch information
aaryan610 committed May 23, 2024
1 parent 6a3c4eb commit c4b54ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const PageDetailsPage: NextPageWithLayout = observer(() => {
const formData: Partial<TPage> = {
name: "Copy of " + pageStore.name,
description_html: currentPageValues.description_html,
access: pageStore.access,
};

await handleCreatePage(formData)
Expand Down

0 comments on commit c4b54ea

Please sign in to comment.