From e22bdd2db60954445c41f7e2ca75a8944de5288f Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 17 Mar 2025 16:45:06 -0400
Subject: fixed table box scrolling

---
 .../views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx   | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx')

diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
index e3854e0e4..6d37f8f0f 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
@@ -625,10 +625,12 @@ export class DocCreatorMenu extends ObservableReactComponent<DocCreateMenuProps>
             await Promise.all(renderedTemplatePromises);
         }
 
-        setTimeout(() => {
-            this.setSuggestedTemplates(templates);
-            this._GPTLoading = false;
-        });
+        setTimeout(
+            action(() => {
+                this.setSuggestedTemplates(templates);
+                this._GPTLoading = false;
+            })
+        );
     };
 
     renderGPTImageCall = async (template: Template, col: Col, fieldNumber: number | undefined): Promise<boolean> => {
-- 
cgit v1.2.3-70-g09d2

