aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionPDFView.tsx
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-05-18 00:41:41 -0400
committerGitHub <noreply@github.com>2019-05-18 00:41:41 -0400
commit4d9ada442eb37c59f00682594fe1400a2ad89d92 (patch)
treef8b8398c05cc66a9c4905fb078b04f51b26db99b /src/client/views/collections/CollectionPDFView.tsx
parenteb22f6d080dfe2210b54478fe17798b6ff9cb0f4 (diff)
parentd4c4b3e5eb2024b8d050af5c4e018873fbf22339 (diff)
Merge pull request #129 from browngraphicslab/contextMenu
Context menu
Diffstat (limited to 'src/client/views/collections/CollectionPDFView.tsx')
-rw-r--r--src/client/views/collections/CollectionPDFView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPDFView.tsx b/src/client/views/collections/CollectionPDFView.tsx
index b3762206a..a6614da21 100644
--- a/src/client/views/collections/CollectionPDFView.tsx
+++ b/src/client/views/collections/CollectionPDFView.tsx
@@ -61,7 +61,7 @@ export class CollectionPDFView extends React.Component<FieldViewProps> {
onContextMenu = (e: React.MouseEvent): void => {
if (!e.isPropagationStopped() && this.props.Document[Id] !== "mainDoc") { // need to test this because GoldenLayout causes a parallel hierarchy in the React DOM for its children and the main document view7
- ContextMenu.Instance.addItem({ description: "PDFOptions", event: emptyFunction });
+ ContextMenu.Instance.addItem({ description: "PDFOptions", event: emptyFunction, icon: "file-pdf" });
}
}