aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ComparisonBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-09-02 10:59:58 -0400
committerbobzel <zzzman@gmail.com>2024-09-02 10:59:58 -0400
commit80a9bb161cda4a361d9626047869e7acbe845414 (patch)
tree8e8990f99f84c5d05c5222d79bf3fbed43e3129a /src/client/views/nodes/ComparisonBox.tsx
parentc6e4d53624f993d0bffda69f3633583ec47bd3e3 (diff)
fixed containerViewPath for carouse and comparison boxes
Diffstat (limited to 'src/client/views/nodes/ComparisonBox.tsx')
-rw-r--r--src/client/views/nodes/ComparisonBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx
index 58af3ad52..9e1c1b7be 100644
--- a/src/client/views/nodes/ComparisonBox.tsx
+++ b/src/client/views/nodes/ComparisonBox.tsx
@@ -673,7 +673,7 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<FieldViewProps>()
renderDepth={this.props.renderDepth + 1}
LayoutTemplateString={layoutString}
Document={layoutString ? this.Document : targetDoc}
- containerViewPath={this.DocumentView?.().docViewPath}
+ containerViewPath={this._props.docViewPath}
moveDocument={whichSlot.endsWith('1') ? this.moveDoc1 : this.moveDoc2}
removeDocument={whichSlot.endsWith('1') ? this.remDoc1 : this.remDoc2}
NativeWidth={this.layoutWidth}