takeru0001 5 лет назад
Родитель
Сommit
074cb9776d
1 измененных файлов с 2 добавлено и 2 удалено
  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([]);