diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2025-03-02 03:19:21 -0500 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2025-03-02 03:19:21 -0500 |
commit | f7e28d954902bf9e7e8567ce06b6eb03b6cd92ef (patch) | |
tree | 1997116a11e382f3bd3028ef45f7c3031ddf2e31 /src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | |
parent | b623446ec0e71a3f696d14c3f169781c99f7e7b7 (diff) |
Slight refactors (with so much wasted time trying for larger ones)
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx index a80df8468..687b655d1 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx @@ -38,7 +38,7 @@ export class Template { const matchingField: Field = this.allFields.filter(f => f.getID === field.getID)[0]; matchingField.applyAttributes(field); }) - clone.mainField.initRenderedDoc(); + clone.mainField.initializeDocument(); return clone; } @@ -83,7 +83,7 @@ export class Template { resetToBase = () => { this.allFields.forEach(field => { - field.initRenderedDoc(); + field.initializeDocument(); }) } |