|
|
|
@ -6,6 +6,7 @@ const tooltips = defineMessages({ |
|
|
|
|
mentions: { id: 'notifications.filter.mentions', defaultMessage: 'Mentions' }, |
|
|
|
|
favourites: { id: 'notifications.filter.favourites', defaultMessage: 'Favourites' }, |
|
|
|
|
boosts: { id: 'notifications.filter.boosts', defaultMessage: 'Boosts' }, |
|
|
|
|
polls: { id: 'notifications.filter.polls', defaultMessage: 'Poll results' }, |
|
|
|
|
follows: { id: 'notifications.filter.follows', defaultMessage: 'Follows' }, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -78,6 +79,13 @@ class FilterBar extends React.PureComponent { |
|
|
|
|
> |
|
|
|
|
<i className='fa fa-fw fa-retweet' /> |
|
|
|
|
</button> |
|
|
|
|
<button |
|
|
|
|
className={selectedFilter === 'poll' ? 'active' : ''} |
|
|
|
|
onClick={this.onClick('poll')} |
|
|
|
|
title={intl.formatMessage(tooltips.polls)} |
|
|
|
|
> |
|
|
|
|
<i className='fa fa-fw fa-tasks' /> |
|
|
|
|
</button> |
|
|
|
|
<button |
|
|
|
|
className={selectedFilter === 'follow' ? 'active' : ''} |
|
|
|
|
onClick={this.onClick('follow')} |
|
|
|
|