From ab4bba8fac883fcc8e839b88f2b597d9147dcb9b Mon Sep 17 00:00:00 2001
From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com>
Date: Wed, 30 Oct 2024 04:15:38 -0400
Subject: carousel doc working well enough for demo

---
 .../views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx      | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx')

diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
index 54f109f84..e7d6bb98e 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.tsx
@@ -411,11 +411,7 @@ export class DocCreatorMenu extends ObservableReactComponent<FieldViewProps> {
 
     testTemplate = async () => {
 
-        console.log(this.templateManager.templates.map(template => {
-            template.mainField.getAllSubfields;
-        })
-            
-            )
+        console.log(this.templateManager.templates)
 
         this.forceUpdate();
 
@@ -611,7 +607,7 @@ export class DocCreatorMenu extends ObservableReactComponent<FieldViewProps> {
         templates.forEach(template => {
             console.log('title: ', template.mainField.getTitle());
             descriptions += `----------  NEW TEMPLATE TO INCLUDE: The title is: ${template.mainField.getTitle()}. Its fields are: `;
-            template.allFields.forEach(field => {
+            template.contentFields.forEach(field => {
                 descriptions += `{Field #${field.getID}: ${field.getDescription}} `;
             });
         });
-- 
cgit v1.2.3-70-g09d2

