mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: Remove archived document from sidebar immediately (#11900)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user