perf: Remove default fetchDocuments call (#10951)

This commit is contained in:
Tom Moor authored and GitHub committed 2025-12-18 07:32:47 -05:00
1 parent 93356472a1
commit 85cd2d0c2c
2 files changed
+1 -8

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ const DocumentMeta: React.FC<Props> = ({
<span>
&nbsp;{t("in")}&nbsp;
<Strong>
<DocumentBreadcrumb document={document} onlyText />
<DocumentBreadcrumb document={document} maxDepth={1} onlyText />
</Strong>
</span>
)}
-7
View File
@@ -148,13 +148,6 @@ export default class CollectionsStore extends Store<Collection> {
return result;
}
@action
async fetch(id: string, options?: { force: boolean }): Promise<Collection> {
const model = await super.fetch(id, options);
await model.fetchDocuments(options);
return model;
}
@action
fetchNamedPage = async (
request = "list",