Added href option to actions in SidebarLayout

This commit is contained in:
mgabdev 2020-12-22 12:52:20 -05:00
parent 06de0c88f3
commit 15df66b234

View File

@ -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}