Updated home_column_header for lists
if no lists, go to /lists page
This commit is contained in:
parent
94566e0ab4
commit
cfe4d7530c
@ -146,12 +146,18 @@ class ColumnHeader extends React.PureComponent {
|
||||
{formatMessage(messages.allTitle)}
|
||||
</Link>
|
||||
|
||||
{
|
||||
{ lists.size > 0 &&
|
||||
<a onClick={this.expandLists} className={classNames('btn grouped', {'active': 'lists' === activeItem})}>
|
||||
<Icon id='list' fixedWidth className='column-header__icon' />
|
||||
{formatMessage(messages.listTitle)}
|
||||
</a>
|
||||
}
|
||||
{ lists.size == 0 &&
|
||||
<Link to='/lists' className='btn grouped'>
|
||||
<Icon id='list' fixedWidth className='column-header__icon' />
|
||||
{formatMessage(messages.listTitle)}
|
||||
</Link>
|
||||
}
|
||||
|
||||
<div className='column-header__buttons'>
|
||||
{collapseButton}
|
||||
|
Loading…
Reference in New Issue
Block a user