diff options
author | bobzel <zzzman@gmail.com> | 2025-07-08 11:11:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-07-08 11:11:22 -0400 |
commit | d4156e3e178a321de0e5497da08a2c2a49faa2fd (patch) | |
tree | 59f6a6405cdc03e3787f0ed5379ca951267ca683 | |
parent | 8dd02b1b84a3b483e68a0af00b61b8ae39920458 (diff) |
fixed search
-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; |