Shun Miyazawa před 4 roky
rodič
revize
80a7786908

+ 1 - 1
packages/app/src/components/PageList/PageListItemL.tsx

@@ -58,7 +58,7 @@ export const PageListItemL = memo((props: Props): JSX.Element => {
   }, [isDeviceSmallerThanLg, onClickItem, pageData._id]);
 
   const onClickDuplicateMenuItem = () => {
-    if (pageData._id != null && pageData.path != null) {
+    if (!pageData.isEmpty) {
       openDuplicateModal(pageData._id, pageData.path);
     }
   };