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