فهرست منبع

Fixed condition

Taichi Masuyama 4 سال پیش
والد
کامیت
b658ccc073
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/src/server/service/page-operation.ts

+ 1 - 1
packages/app/src/server/service/page-operation.ts

@@ -36,7 +36,7 @@ class PageOperationService {
       }
 
       if (toPathToOp != null && !isTrashPage(toPathToOp)) {
-        const flag = toPaths.some(p => this.isEitherOfPathAreaOverlap(p, toPathToOp));
+        const flag = toPaths.some(p => this.isPathAreaOverlap(p, toPathToOp));
         if (flag) return false;
       }