From 85cd2d0c2cb419f5a1cf77dc782335b56f48fe67 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 18 Dec 2025 07:32:47 -0500 Subject: [PATCH] perf: Remove default fetchDocuments call (#10951) --- app/components/DocumentMeta.tsx | 2 +- app/stores/CollectionsStore.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/components/DocumentMeta.tsx b/app/components/DocumentMeta.tsx index 8bd9d6b6be..c4680f0d56 100644 --- a/app/components/DocumentMeta.tsx +++ b/app/components/DocumentMeta.tsx @@ -182,7 +182,7 @@ const DocumentMeta: React.FC = ({  {t("in")}  - + )} diff --git a/app/stores/CollectionsStore.ts b/app/stores/CollectionsStore.ts index 9dd62a16ac..9ad259383d 100644 --- a/app/stores/CollectionsStore.ts +++ b/app/stores/CollectionsStore.ts @@ -148,13 +148,6 @@ export default class CollectionsStore extends Store { return result; } - @action - async fetch(id: string, options?: { force: boolean }): Promise { - const model = await super.fetch(id, options); - await model.fetchDocuments(options); - return model; - } - @action fetchNamedPage = async ( request = "list",