From f9733d1fcd50cd2805a3a0b7dfcd1462a42d6a0e Mon Sep 17 00:00:00 2001
From: usodhi <61431818+usodhi@users.noreply.github.com>
Date: Thu, 13 May 2021 21:06:24 -0400
Subject: filter icon on collections and clickable

---
 src/client/views/nodes/DocumentView.tsx | 8 --------
 1 file changed, 8 deletions(-)

(limited to 'src/client/views/nodes/DocumentView.tsx')

diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index f4a5c7e96..7ec9f5f74 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -1136,9 +1136,6 @@ export class DocumentView extends React.Component<DocumentViewProps> {
         !this.props.dontRegisterView && DocumentManager.Instance.RemoveView(this);
     }
 
-    @computed get showFilterIcon() {
-        return this.props.Document.type === DocumentType.COL && !Doc.IsSystem(this.props.Document) && (StrListCast(this.props.Document._docFilters).length || StrListCast(this.props.Document._docRangeFilters).length || StrListCast(CurrentUserUtils.ActiveDashboard._docFilters).length || StrListCast(CurrentUserUtils.ActiveDashboard._docRangeFilters).length);
-    }
     render() {
         TraceMobx();
         const xshift = () => (this.props.Document.isInkMask ? InkingStroke.MaskDim : Math.abs(this.Xshift) <= 0.001 ? this.props.PanelWidth() : undefined);
@@ -1167,11 +1164,6 @@ export class DocumentView extends React.Component<DocumentViewProps> {
                         focus={this.props.focus || emptyFunction}
                         bringToFront={emptyFunction}
                         ref={action((r: DocumentViewInternal | null) => this.docView = r)} />
-                    {this.showFilterIcon ?
-                        <FontAwesomeIcon icon={"filter"} size="lg"
-                            style={{ position: 'absolute', top: '1%', right: '1%', cursor: "pointer", padding: 1, color: '#18c718bd' }}
-                        />
-                        : (null)}
                 </div>)}
         </div>);
     }
-- 
cgit v1.2.3-70-g09d2

