aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesView.tsx
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-03-11 16:22:09 -0500
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-03-11 16:22:09 -0500
commit1c6a3568005bb25541d45db4b53f1955ff3b0e39 (patch)
tree1396288e8d11fddd77bba66e65e73e78f4dde3d3 /src/client/views/PropertiesView.tsx
parent55aeb2f80dd48e758fcf6b957233d4949c4b063e (diff)
adding and/or to filtering, added editableview, changed a bunch of things
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r--src/client/views/PropertiesView.tsx1
1 files changed, 1 insertions, 0 deletions
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>();