Fix sync mode offline crash
This commit is contained in:
parent
f30b1d3418
commit
9734c0f14c
@ -26,7 +26,10 @@ export class Space {
|
|||||||
this.watchedPages.delete(pageName);
|
this.watchedPages.delete(pageName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.updatePageList().catch(console.error);
|
setTimeout(() => {
|
||||||
|
// Next tick, to ensure that the space is initialized
|
||||||
|
this.updatePageList().catch(console.error);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public async updatePageList() {
|
public async updatePageList() {
|
||||||
|
Loading…
Reference in New Issue
Block a user