From de18eecdbd0ac99cdc78aef2dd477e341c28df76 Mon Sep 17 00:00:00 2001 From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:45:37 -0400 Subject: content is being filled into fields properly --- src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx') diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx index 708170359..69f5cfb81 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx @@ -24,7 +24,7 @@ export class Template { } setupMainField = (templateInfo: FieldSettings) => { - return new DynamicField(templateInfo, 0); + return new DynamicField(templateInfo, 1); } isValidTemplate = (cols: Col[]) => { @@ -56,8 +56,6 @@ export class Template { const used: boolean[] = Array(fieldsCt).fill(false); const mt: number[] = Array(fieldsCt).fill(-1); - console.log(matches, fieldsCt); - const augmentingPath = (v: number): boolean => { if (used[v]) return false; used[v] = true; -- cgit v1.2.3-70-g09d2