1
0

Fix sync mode offline crash

This commit is contained in:
Zef Hemel 2024-01-20 20:57:05 +01:00
parent f30b1d3418
commit 9734c0f14c

View File

@ -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() {