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/importBox/ImportElementBox.tsx | |
| parent | e1c5b6ad318433d6e499f21065b35332f57b98ff (diff) | |
cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDoc
Diffstat (limited to 'src/client/views/nodes/importBox/ImportElementBox.tsx')
| -rw-r--r-- | src/client/views/nodes/importBox/ImportElementBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/importBox/ImportElementBox.tsx b/src/client/views/nodes/importBox/ImportElementBox.tsx index 58f0b29e4..170626cd2 100644 --- a/src/client/views/nodes/importBox/ImportElementBox.tsx +++ b/src/client/views/nodes/importBox/ImportElementBox.tsx @@ -22,7 +22,7 @@ export class ImportElementBox extends ViewBoxBaseComponent<FieldViewProps>() { <DocumentView {...this.props} // LayoutTemplateString={undefined} - Document={this.rootDoc} + Document={this.Document} isContentActive={returnFalse} DataDoc={undefined} addDocument={returnFalse} @@ -33,6 +33,6 @@ export class ImportElementBox extends ViewBoxBaseComponent<FieldViewProps>() { ); } render() { - return !(this.rootDoc instanceof Doc) ? null : this.mainItem; + return !(this.Document instanceof Doc) ? null : this.mainItem; } } |
