From 6d50c6b2f0ea5a88ee4337e62454c75aa93efdbd Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Mon, 5 Oct 2015 17:02:35 -0400
Subject: Fixed Get Public Link button

---
 web/react/components/view_image_popover_bar.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/view_image_popover_bar.jsx')

diff --git a/web/react/components/view_image_popover_bar.jsx b/web/react/components/view_image_popover_bar.jsx
index 68817d751..132212afb 100644
--- a/web/react/components/view_image_popover_bar.jsx
+++ b/web/react/components/view_image_popover_bar.jsx
@@ -14,7 +14,7 @@ export default class ViewImagePopoverBar extends React.Component {
                         href='#'
                         className='public-link text'
                         data-title='Public Image'
-                        onClick={this.getPublicLink}
+                        onClick={this.props.getPublicLink}
                     >
                         {'Get Public Link'}
                     </a>
@@ -62,5 +62,5 @@ ViewImagePopoverBar.propTypes = {
     totalFiles: React.PropTypes.number.isRequired,
     filename: React.PropTypes.string.isRequired,
     fileURL: React.PropTypes.string.isRequired,
-    onGetPublicLinkPressed: React.PropTypes.func.isRequired
+    getPublicLink: React.PropTypes.func.isRequired
 };
-- 
cgit v1.2.3-1-g7c22

