diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-20 12:45:47 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-20 12:45:47 -0500 |
commit | df61d40f92a29f948d9f513fb9f50349f16500ee (patch) | |
tree | 7e78f7ee42737bbf581bb5f6094873d33d6e0337 | |
parent | ba5d8f584c69c0cbbde20283d1a09e00faea8feb (diff) |
pivot componentDidMount true hack
-rw-r--r-- | src/client/views/collections/CollectionPivotView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPivotView.tsx b/src/client/views/collections/CollectionPivotView.tsx index bada8ff28..53ad433b3 100644 --- a/src/client/views/collections/CollectionPivotView.tsx +++ b/src/client/views/collections/CollectionPivotView.tsx @@ -20,7 +20,7 @@ import { Set } from "typescript-collections"; export class CollectionPivotView extends CollectionSubView(doc => doc) { componentDidMount = () => { this.props.Document.freeformLayoutEngine = "pivot"; - if (!this.props.Document.facetCollection) { + if (true || !this.props.Document.facetCollection) { const facetCollection = Docs.Create.FreeformDocument([], { title: "facetFilters", yMargin: 0, treeViewHideTitle: true }); facetCollection.target = this.props.Document; |