aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SearchDocBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-07 23:01:46 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-07 23:01:46 -0400
commite262d9ac73af5b2cef384468c47d69917e205d44 (patch)
tree4b563896d93febb233e7bffc2a292af4097136b3 /src/client/views/SearchDocBox.tsx
parent52ad8b3874419a76e6953c3bd698d9e68a3158a6 (diff)
lots of code cleanup - removed all northstar db stuff. added scriptingBox. renamed things. made collectiontypes strings not numbers.
Diffstat (limited to 'src/client/views/SearchDocBox.tsx')
-rw-r--r--src/client/views/SearchDocBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/SearchDocBox.tsx b/src/client/views/SearchDocBox.tsx
index 4790a2ad7..799fa9d85 100644
--- a/src/client/views/SearchDocBox.tsx
+++ b/src/client/views/SearchDocBox.tsx
@@ -394,7 +394,7 @@ export class SearchDocBox extends React.Component<FieldViewProps> {
render() {
const isEditing = this.editingMetadata;
- return (
+ return !this.content ? (null) : (
<div style={{ pointerEvents: "all" }}>
<ContentFittingDocumentView {...this.props}
Document={this.content}