aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DataVizBox.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-08-12 21:37:47 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-08-12 21:37:47 -0400
commit3aa2e040100fc662c259751dfbb7a43cc716ac2a (patch)
tree29e9ee453ac4b6ec751797a6d56dde93ab78be92 /src/client/views/nodes/DataVizBox/DataVizBox.tsx
parent8d3ef2ead4fb8a8625b7fbfe57e528819a030474 (diff)
seuggested templates auto-refeshes on col selection; lightbox editing added; GPT refresh button now makes new call
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DataVizBox.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DataVizBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
index a6d3bfa49..be8a44f28 100644
--- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx
+++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
@@ -129,6 +129,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
}
selectAxes = (axes: string[]) => {
this.layoutDoc._dataViz_axes = new List<string>(axes);
+ DocCreatorMenu.Instance.generateTemplates('');
};
@computed.struct get titleCol() {
return StrCast(this.layoutDoc._dataViz_titleCol);