diff options
| author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-10-30 03:36:01 -0400 |
|---|---|---|
| committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-10-30 03:36:01 -0400 |
| commit | 4b9536c0b4db5922ac33523dc3d4f33d37007982 (patch) | |
| tree | 205eea416073c897939e11fa3813770c3327de95 /src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | |
| parent | 752137754b2f544ad08106934a1f5c9ce03408a2 (diff) | |
getAllsubfields works now
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx')
| -rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx index 69f5cfb81..09eb86d20 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx @@ -34,6 +34,7 @@ export class Template { } getMatches = (cols: Col[]): number[][] => { + console.log(this.mainField.getTitle(), this.allFields) const numFields = this.contentFields.length; if (cols.length !== numFields) return []; @@ -80,6 +81,8 @@ export class Template { if (mt[i] !== -1) ++count; } + console.log(this.mainField.getTitle(), count) + return count; }; |
