about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/ui
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-08 01:24:06 +0100
committerGitHub <noreply@github.com>2017-01-08 01:24:06 +0100
commitcec7e698275f7f3a8d88ddf205a0c04d6adb13cd (patch)
tree9592c4f96154796c66f4f7ba3241427da07b1390 /app/assets/javascripts/components/features/ui
parent679aa35e152d690ab8460d8c819c9496b2061ed8 (diff)
parente1ca3549561b133a5c878f5f8ace2c8d2dec4eee (diff)
Merge pull request #430 from blackle/logout_mobile
Show logout button on getting started so it's available on mobile
Diffstat (limited to 'app/assets/javascripts/components/features/ui')
-rw-r--r--app/assets/javascripts/components/features/ui/components/column_link.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/column_link.jsx b/app/assets/javascripts/components/features/ui/components/column_link.jsx
index a2f7c13a6..901a29f5c 100644
--- a/app/assets/javascripts/components/features/ui/components/column_link.jsx
+++ b/app/assets/javascripts/components/features/ui/components/column_link.jsx
@@ -13,10 +13,10 @@ const iconStyle = {
   marginRight: '5px'
 };
 
-const ColumnLink = ({ icon, text, to, href }) => {
+const ColumnLink = ({ icon, text, to, href, method }) => {
   if (href) {
     return (
-      <a href={href} style={outerStyle} className='column-link'>
+      <a href={href} style={outerStyle} className='column-link' data-method={method}>
         <i className={`fa fa-fw fa-${icon}`} style={iconStyle} />
         {text}
       </a>