aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
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">