fix: Improve logic for word import (#6361)

* Refactor DocumentConverter

* Support parsing images from Confluence exported .doc files

* fix: Bring across 2 fixes from enterprise codebase

* Bust dependency cache
This commit is contained in:
Tom Moor
2024-01-09 20:29:47 -08:00
committed by GitHub
parent a032f2e7e5
commit 7d7d0fd9ca
6 changed files with 297 additions and 227 deletions

View File

@@ -230,11 +230,11 @@ export default class CollectionsStore extends Store<Collection> {
return find(this.orderedData, (col: Collection) => url.endsWith(col.urlId));
}
delete = async (collection: Collection) => {
async delete(collection: Collection) {
await super.delete(collection);
await this.rootStore.documents.fetchRecentlyUpdated();
await this.rootStore.documents.fetchRecentlyViewed();
};
}
export = (format: FileOperationFormat, includeAttachments: boolean) =>
client.post("/collections.export_all", {