kosei-n 1 год назад
Родитель
Сommit
9a776f02c2
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      apps/app/src/components/PageSelectModal/PageSelectModal.tsx

+ 1 - 2
apps/app/src/components/PageSelectModal/PageSelectModal.tsx

@@ -40,9 +40,8 @@ export const PageSelectModal: FC = () => {
 
 
   const onClickTreeItem = useCallback((page: IPageForItem) => {
   const onClickTreeItem = useCallback((page: IPageForItem) => {
     const parentPagePath = page.path;
     const parentPagePath = page.path;
-    const parentPageId = page._id;
 
 
-    if (parentPagePath == null || parentPageId == null) {
+    if (parentPagePath == null) {
       return;
       return;
     }
     }