aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2025-05-11 16:52:17 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2025-05-11 16:52:17 -0400
commite62f51bacace3d91f388202135426445721097cc (patch)
tree0b652d55e6c055b63c43feba7a41d1bab28af005 /src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts
parent4af498433a887c70dc7043a5a34eef7fff5bbbe0 (diff)
menubutton component
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts')
-rw-r--r--src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts
index 10724c9f7..7ff521f18 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.ts
@@ -81,7 +81,7 @@ export class Template {
isValidTemplate = (cols: Col[]) => {
const maxMatches = this.maxMatches(this.getMatches(cols));
- return maxMatches === this.contentFields.length;
+ return maxMatches === this.contentFields.length && this.title !== 'template_framework';
};
applyConditionalLogicToField = (field: TemplateField) => {