From 3ddfe7d4d56e62398d0f798409318f1a4715c275 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 14 Dec 2023 12:51:15 -0500 Subject: cleaning up collectionTime, still a bug when switching into it. replacing hig flyout. --- src/client/util/CurrentUserUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/util') 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)); } } -- cgit v1.2.3-70-g09d2