|
|
@@ -7,6 +7,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' }, |
|
|
|
}); |
|
|
|
|
|
|
@@ -80,6 +81,13 @@ class FilterBar extends React.PureComponent { |
|
|
|
<Icon id='retweet' fixedWidth /> |
|
|
|
</button> |
|
|
|
<button |
|
|
|
className={selectedFilter === 'poll' ? 'active' : ''} |
|
|
|
onClick={this.onClick('poll')} |
|
|
|
title={intl.formatMessage(tooltips.polls)} |
|
|
|
> |
|
|
|
<Icon id='tasks' fixedWidth /> |
|
|
|
</button> |
|
|
|
<button |
|
|
|
className={selectedFilter === 'follow' ? 'active' : ''} |
|
|
|
onClick={this.onClick('follow')} |
|
|
|
title={intl.formatMessage(tooltips.follows)} |
|
|
|