diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-18 02:37:59 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-18 02:37:59 +0100 |
commit | 9e99b8c068b11ec2d0f3b5d560cae0166c247342 (patch) | |
tree | 35de1962d5a024642dda432c747da6be7215ce8d /app/assets/javascripts/components/features/hashtag_timeline | |
parent | 1d5dfda3d45409f95b68d9e577f455309033da5f (diff) |
Fix #642 - Add "empty column" text to home/notifications
Diffstat (limited to 'app/assets/javascripts/components/features/hashtag_timeline')
-rw-r--r-- | app/assets/javascripts/components/features/hashtag_timeline/index.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/hashtag_timeline/index.jsx b/app/assets/javascripts/components/features/hashtag_timeline/index.jsx index 4a0e7684d..6cb9e5482 100644 --- a/app/assets/javascripts/components/features/hashtag_timeline/index.jsx +++ b/app/assets/javascripts/components/features/hashtag_timeline/index.jsx @@ -8,6 +8,7 @@ import { deleteFromTimelines } from '../../actions/timelines'; import ColumnBackButtonSlim from '../../components/column_back_button_slim'; +import { FormattedMessage } from 'react-intl'; import createStream from '../../stream'; const mapStateToProps = state => ({ @@ -76,7 +77,7 @@ const HashtagTimeline = React.createClass({ return ( <Column icon='hashtag' heading={id}> <ColumnBackButtonSlim /> - <StatusListContainer type='tag' id={id} /> + <StatusListContainer type='tag' id={id} emptyMessage={<FormattedMessage id='empty_column.hashtag' defaultMessage='There is nothing in this hashtag yet.' />} /> </Column> ); }, |