diff options
author | bobzel <zzzman@gmail.com> | 2025-03-17 16:45:06 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-17 16:45:06 -0400 |
commit | e22bdd2db60954445c41f7e2ca75a8944de5288f (patch) | |
tree | 2dfd8becab784cfed8b21bb231990753293c1d8e /src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx | |
parent | 8437c22e6489518eff99d05490f64d4adbad1118 (diff) |
fixed table box scrolling
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
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> => { |