forked from github/plane
e141091e99
This commit adds a duplicate_page function to the PageDetailsPage component, which allows users to duplicate a page. If the current page does not have a description_html value, it will be set to the default value from the pageDetails object. The formData object is updated with the necessary values for duplication, including the new page name and description. Additionally, the handleSubmit dependency is included in the useEffect hook to ensure proper form submission. |
||
---|---|---|
.. | ||
[workspaceSlug] | ||
accounts | ||
god-mode | ||
installations/[provider] | ||
invitations | ||
onboarding | ||
profile | ||
workspace-invitations | ||
_app.tsx | ||
_document.tsx | ||
_error.tsx | ||
404.tsx | ||
create-workspace.tsx | ||
index.tsx |