Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix: avoid bulkLoading derive when logout

Smaug67398bc067b57a93
diff --git a/frontend/app/helpers/IndexedCollection.ts b/frontend/app/helpers/IndexedCollection.ts
index ff874bcf..99017879 100644
--- a/frontend/app/helpers/IndexedCollection.ts
+++ b/frontend/app/helpers/IndexedCollection.ts
@@ -159,6 +159,7 @@ export class IndexedCollection {
// Clear the entire collection and its indexes
clear(): void {
+ this.isBulkLoading = 0;
this.store.clear();
this.byParent.clear();
this.byRole.clear();