From 1c6a3568005bb25541d45db4b53f1955ff3b0e39 Mon Sep 17 00:00:00 2001
From: usodhi <61431818+usodhi@users.noreply.github.com>
Date: Thu, 11 Mar 2021 16:22:09 -0500
Subject: adding and/or to filtering, added editableview, changed a bunch of
 things

---
 src/client/views/PropertiesView.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/views/PropertiesView.tsx')

diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index 4b6f1c912..499d8ff0c 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -913,6 +913,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
     }
 
     updateFilterDoc = (doc: Doc) => {
+        if (doc === this.filterDoc.currentFilter) return; // causes problems if you try to reapply the same doc
         const temp = doc._docFiltersList;
         const otherTemp = this.filterDoc._docFilters;
         this.filterDoc._docFilters = new List<string>();
-- 
cgit v1.2.3-70-g09d2

