aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionCarouselView.tsx3
1 files changed, 2 insertions, 1 deletions
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 : (
<>
- <div className="collectionCarouselView-image" key="image">
+ <div className="collectionCarouselView-image">
<DocumentView
{...this._props}
NativeWidth={returnZero}
@@ -218,6 +218,7 @@ export class CollectionCarouselView extends CollectionSubView() {
fitWidth={undefined}
setContentViewBox={undefined}
childFilters={this.childDocFilters}
+ containerViewPath={this._props.docViewPath}
onDoubleClickScript={this.onContentDoubleClick}
onClickScript={this.onContentClick}
isDocumentActive={this._props.childDocumentsActive?.() ? this._props.isDocumentActive : this._props.isContentActive}