aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-26 13:53:26 -0400
committerbobzel <zzzman@gmail.com>2024-08-26 13:53:26 -0400
commit2e345c1ebd498e3f7e088e6fc3e1ca17082b23c1 (patch)
tree7b564401f0edc89e9ee683bb9f1c9e32f957ae43 /src/client/views/collections/CollectionStackingView.tsx
parentcc3e1bc2c317cf34aba04e4935ae842b16ad4cae (diff)
converted unique faces to be a Doc type similar to a collection.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 3f8aee792..6402ef16c 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -98,7 +98,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection
}
// are we stacking or masonry?
@computed get isStackingView() {
- return (this._props.type_collection ?? this.layoutDoc._type_collection) === CollectionViewType.Stacking;
+ return (this._props.type_collection ?? this.layoutDoc._type_collection) !== CollectionViewType.Masonry;
}
// this is the number of StackingViewFieldColumns that we have
@computed get numGroupColumns() {
@@ -355,6 +355,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection
childFilters={this.childDocFilters}
hideDecorationTitle={this._props.childHideDecorationTitle}
hideResizeHandles={this._props.childHideResizeHandles}
+ hideDecorations={this._props.childHideDecorations}
childFiltersByRanges={this.childDocRangeFilters}
searchFilterDocs={this.searchFilterDocs}
xPadding={NumCast(this.layoutDoc._childXPadding, this._props.childXPadding)}