diff options
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx')
| -rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx index f9bf22047..57565906b 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx @@ -6,23 +6,15 @@ import { TemplateDocInfos } from "./TemplateBackend"; export class Template { + mainField: Field; width: number = 0; height: number = 0; fields: Field[] = []; - mainDoc: Doc; constructor(templateInfo: TemplateDocInfos) { this.width = templateInfo.width; this.height = templateInfo.height; this.fields = templateInfo.fields.map(settings => new Field(settings, this)); - this.mainDoc = this.setupMainDoc(); - } - - setupMainDoc = (): Doc => { - Docs.Create.FreeformDocument(, ){ - - } - return new Doc; } get childFields(): Field[] { |
