Shun Miyazawa hace 4 años
padre
commit
80a7786908
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/components/PageList/PageListItemL.tsx

+ 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);
     }
   };