aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-20 11:32:17 -0400
committerbobzel <zzzman@gmail.com>2020-08-20 11:32:17 -0400
commit694cbd8c810068ea27b94cce8d74d6e645939e39 (patch)
tree1d063bf02388f69b71f0b9b890c708cfbccbaca0 /src/client/views/collections
parent94b1a9f9b0c27c3821724f13bd3df13754deaddd (diff)
starting overhaul of SearchBox code.
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index ed8496544..257099783 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -313,7 +313,7 @@ export class CollectionSchemaView extends CollectionSubView(doc => doc) {
else {
this.props.Document._docFilters = undefined;
if (this.props.Document.selectedDoc !== undefined) {
- const doc = Cast(this.props.Document.selectedDoc, Doc) as Doc;
+ const doc = Cast(this.props.Document.selectedDoc, Doc, null);
doc._docFilters = undefined;
}
}