From 15df66b234b7b2f2019ab7a032b0a500d589737f Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 22 Dec 2020 12:52:20 -0500 Subject: [PATCH] Added href option to actions in SidebarLayout --- app/javascript/gabsocial/components/sidebar/sidebar_layout.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/gabsocial/components/sidebar/sidebar_layout.js b/app/javascript/gabsocial/components/sidebar/sidebar_layout.js index 1e30354c..8084cd8f 100644 --- a/app/javascript/gabsocial/components/sidebar/sidebar_layout.js +++ b/app/javascript/gabsocial/components/sidebar/sidebar_layout.js @@ -59,6 +59,7 @@ class SidebarLayout extends React.PureComponent { color='primary' onClick={action.onClick ? () => action.onClick() : undefined} to={action.to} + href={action.href} key={`action-btn-${i}`} className={[_s.ml5, _s.px5].join(' ')} icon={action.icon}