aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-14 12:51:15 -0500
committerbobzel <zzzman@gmail.com>2023-12-14 12:51:15 -0500
commit3ddfe7d4d56e62398d0f798409318f1a4715c275 (patch)
tree8a5eb7b127d67cdb32627e04d36e54a8a599b114 /src/client/util/CurrentUserUtils.ts
parent5a1a7d08789ba41afd298ed4c091582f3c211d26 (diff)
cleaning up collectionTime, still a bug when switching into it. replacing hig flyout.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 8b5f23aa4..61a9fa7c2 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -951,7 +951,7 @@ export class CurrentUserUtils {
{
const ids = result.cacheDocumentIds.split(";");
const batch = 30000;
- for (let i = 0; i < ids.length; i = Math.min(ids.length, i+batch)) {
+ for (let i = 0; i < ids.length; i += batch) {
await DocServer.GetRefFields(ids.slice(i, i+batch));
}
}