From df61d40f92a29f948d9f513fb9f50349f16500ee Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samwilkins333@gmail.com>
Date: Mon, 20 Jan 2020 12:45:47 -0500
Subject: pivot componentDidMount true hack

---
 src/client/views/collections/CollectionPivotView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/collections/CollectionPivotView.tsx')

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;
 
-- 
cgit v1.2.3-70-g09d2

