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

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

@@ -42,9 +42,10 @@ class PageOnlyDescendantsIterableFactory {
   constructor(user: any, rootPage: any, shouldIncludeEmpty: boolean) {
     this.user = user;
     this.rootPage = rootPage;
-    this.isReady = false;
     this.shouldIncludeEmpty = shouldIncludeEmpty;
 
+    this.isReady = false;
+
     this.Page = mongoose.model('Page') as unknown as PageModel;
   }