From 80a9bb161cda4a361d9626047869e7acbe845414 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 2 Sep 2024 10:59:58 -0400 Subject: fixed containerViewPath for carouse and comparison boxes --- src/client/views/collections/CollectionCarouselView.tsx | 3 ++- src/client/views/nodes/ComparisonBox.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index ba7c944a0..9f59322e8 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -210,7 +210,7 @@ export class CollectionCarouselView extends CollectionSubView() { return !(curDoc?.layout instanceof Doc) ? null : ( <> -
+
() 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} -- cgit v1.2.3-70-g09d2