aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-04-29 13:49:55 -0700
committerAndy Rickert <andrew_rickert@brown.edu>2020-04-29 13:49:55 -0700
commit9aab1f5e7dc7438dfa8a93afe03bd5746315c994 (patch)
treeb7789f15f74554beb23b85ec4a200bcbfd7b0bd4 /src/client/documents/Documents.ts
parente4b7b54eecc307ec52f6105f92c3d87449458641 (diff)
bugfixing
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 e5b3c8a97..d440ed287 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -539,7 +539,7 @@ export namespace Docs {
}
export function SearchDocument(options: DocumentOptions = {}) {
- return InstanceFromProto(Prototypes.get(DocumentType.SEARCH), "", options);
+ return InstanceFromProto(Prototypes.get(DocumentType.SEARCH), new List<Doc>([]), options);
}
export function ColorDocument(options: DocumentOptions = {}) {