takeru0001 преди 5 години
родител
ревизия
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([]);