diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-24 18:48:55 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-24 18:48:55 -0400 |
| commit | bb5a5f086fc3d93051106f12398f3889d570d225 (patch) | |
| tree | 10b3a2bfd1ae63639e85b7191e92b3cc29ac2e98 /src/client/views/nodes/trails/PresElementBox.tsx | |
| parent | ae9404e2c80555875f2fd69f4ae55105ae51168b (diff) | |
| parent | 62937027183dc8acf14e489fbb4590aff6fce2cd (diff) | |
Merge branch 'master' into dataviz-ai-sarah
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/PresElementBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx index 5b2aa1cde..28139eb14 100644 --- a/src/client/views/nodes/trails/PresElementBox.tsx +++ b/src/client/views/nodes/trails/PresElementBox.tsx @@ -61,7 +61,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() { // Since this node is being rendered with a template, this method retrieves // the actual slide being rendered from the auto-generated rendering template @computed get slideDoc() { - return this._props.TemplateDataDocument ?? this.Document; + return DocCast(this.Document.rootDocument, this.Document); } // this is the document in the workspaces that is targeted by the slide |
