aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-12-16 11:21:26 -0500
committerbob <bcz@cs.brown.edu>2019-12-16 11:21:26 -0500
commit098b9c41bf3fef8b7826484e3a0a865ee29ae0ef (patch)
tree5b19defdf275d8306c00e26f9756634c18fd0cc6 /src/client/views/collections
parent5495d74f7dd02c7204e5cdf2a3d001ac69ae622f (diff)
more exception fixes.
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/ParentDocumentSelector.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/ParentDocumentSelector.tsx b/src/client/views/collections/ParentDocumentSelector.tsx
index 8346e8099..ffaf41b91 100644
--- a/src/client/views/collections/ParentDocumentSelector.tsx
+++ b/src/client/views/collections/ParentDocumentSelector.tsx
@@ -120,7 +120,7 @@ export class ButtonSelector extends React.Component<{ Document: Doc, Stack: any
const view = DocumentManager.Instance.getDocumentView(this.props.Document);
let flyout = (
<div className="ParentDocumentSelector-flyout" title=" ">
- <DocumentButtonBar views={[view!]} stack={this.props.Stack} />
+ <DocumentButtonBar views={[view]} stack={this.props.Stack} />
</div>
);
return <span title="Tap for menu" onPointerDown={e => e.stopPropagation()} className="buttonSelector">