Explorar el Código

change initial value

takeru0001 hace 5 años
padre
commit
074cb9776d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/client/js/components/PageDuplicateModal.jsx

+ 2 - 2
src/client/js/components/PageDuplicateModal.jsx

@@ -32,8 +32,8 @@ const PageDuplicateModal = (props) => {
   const [errs, setErrs] = useState(null);
 
   const [subordinatedPages, setSubordinatedPages] = useState([]);
-  const [isDuplicateRecursively, setIsDuplicateRecursively] = useState(false);
-  const [isDuplicateRecursivelyWithoutExistPath, setIsDuplicateRecursivelyWithoutExistPath] = useState(false);
+  const [isDuplicateRecursively, setIsDuplicateRecursively] = useState(true);
+  const [isDuplicateRecursivelyWithoutExistPath, setIsDuplicateRecursivelyWithoutExistPath] = useState(true);
   const [isDuplicateRecursivelyExist] = useState(false);
   const [existingPaths, setExistingPaths] = useState([]);