diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-29 11:55:44 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-29 11:55:44 -0500 |
| commit | 872dc82886f8111da1bdfd282ac2a78ec3bdc1f6 (patch) | |
| tree | 5111fa27c38c2a971168b6dfd490a1a22b159948 /src/client/views/nodes/formattedText/DashFieldView.tsx | |
| parent | e1c5b6ad318433d6e499f21065b35332f57b98ff (diff) | |
cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDoc
Diffstat (limited to 'src/client/views/nodes/formattedText/DashFieldView.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/DashFieldView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/DashFieldView.tsx b/src/client/views/nodes/formattedText/DashFieldView.tsx index 0a64c8062..130ac40c8 100644 --- a/src/client/views/nodes/formattedText/DashFieldView.tsx +++ b/src/client/views/nodes/formattedText/DashFieldView.tsx @@ -108,7 +108,7 @@ export class DashFieldViewInternal extends React.Component<IDashFieldViewInterna if (this.props.docId) { DocServer.GetRefField(this.props.docId).then(action(dashDoc => dashDoc instanceof Doc && (this._dashDoc = dashDoc))); } else { - this._dashDoc = this.props.tbox.rootDoc; + this._dashDoc = this.props.tbox.Document; } } componentWillUnmount() { |
