aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-07-20 01:11:44 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-07-20 01:11:44 -0400
commit0ca5a86e6f9ff85a32de109105b241d613aae326 (patch)
tree47504f51a7c195735a858cf0a8e0f76c3a81175e /src/client/documents/Documents.ts
parente11aa60b774d457cb016bb0f375ce092f0a733af (diff)
parentea217200f1c42e4d4b142abc9abd55ca49535c49 (diff)
Merge branch 'sophie-report-manager' into sophie-ai-images
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 5ef033e35..f3f645ca2 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1731,7 +1731,7 @@ export namespace DocUtils {
return;
}
const full = { ...options, _width: 400, title: name };
- const pathname = Utils.prepend(result.accessPaths.agnostic.client);
+ const pathname = result.accessPaths.agnostic.client;
const doc = await DocUtils.DocumentFromType(type, pathname, full, overwriteDoc);
if (doc) {
const proto = Doc.GetProto(doc);