fix: Remove archived document from sidebar immediately (#11900)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Moor
2026-03-29 16:41:11 -04:00
committed by GitHub
parent 33b9a52dfe
commit 032d5c6b95
+1 -1
View File
@@ -618,7 +618,7 @@ export default class DocumentsStore extends Store<Document> {
});
const collection = this.getCollectionForDocument(document);
if (collection) {
await collection.refresh();
collection.removeDocument(document.id);
}
};