diff options
| author | bobzel <zzzman@gmail.com> | 2025-07-08 20:43:15 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-07-08 20:43:15 -0400 |
| commit | ebd7eb5ff5b1ad34f4474abb13d788878e2345ad (patch) | |
| tree | 08a0e500d4920cc223a3c766c8ce6c9a63c0e0e0 /src/client/util | |
| parent | 95c0d9b0ed3cf8bf50f3a3eac2f1dff146ba131c (diff) | |
| parent | fbbf2933418cc9a4434cfc873b88d04a392cd8e9 (diff) | |
Merge branch 'master' into agent-paper-main
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/SearchUtil.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index 2f23d07dc..8077445f6 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -59,7 +59,7 @@ export namespace SearchUtil { * An array of all field names used by the Doc or its prototypes. */ export function documentKeys(doc: Doc) { - return Object.keys(Doc.GetAllPrototypes(doc).filter(proto => proto).reduce( + return Array.from(Doc.GetAllPrototypes(doc).filter(proto => proto).reduce( (keys, proto) => { Object.keys(proto).forEach(keys.add.bind(keys)); return keys; |
