aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-07-03 13:28:35 -0400
committerAndy Rickert <andrew_rickert@brown.edu>2020-07-03 13:28:35 -0400
commit552e340758ae187459786d742c5e9d2487446f1b (patch)
tree00be9f286ce2655aba4b720f271e3630169a6914 /src/client/views/collections/CollectionSchemaView.tsx
parentb5d1df2ef286a615f9bad1077c33da91ac0416d9 (diff)
more filtring
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index e8c1faff5..9722f8f26 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -331,6 +331,9 @@ export class CollectionSchemaView extends CollectionSubView(doc => doc) {
console.log(filter);
Doc.setDocFilter(this.props.Document, newKey, filter, "match");
}
+ else {
+ this.props.Document._docFilters = undefined;
+ }
}
}
}