about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/hashtag_timeline
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-04-24 11:49:08 +0900
committerEugen <eugen@zeonfederated.com>2017-04-24 04:49:08 +0200
commitcf845fed3824d3e3587ce9b2ad752c2b3f0a2a76 (patch)
treefca5dab5974340cb98eaecd22ac41733f5c8cdd6 /app/assets/javascripts/components/features/hashtag_timeline
parent72c984e1057306d1e4df49871b9fb658fd7cbcc6 (diff)
Hide some components rather than unmounting (#2271)
Hide some components rather than unmounting them to allow to show again
quickly and keep the view state such as the scrolled offset.
Diffstat (limited to 'app/assets/javascripts/components/features/hashtag_timeline')
-rw-r--r--app/assets/javascripts/components/features/hashtag_timeline/index.jsx2
1 files changed, 1 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 5c091e17f..0575e9214 100644
--- a/app/assets/javascripts/components/features/hashtag_timeline/index.jsx
+++ b/app/assets/javascripts/components/features/hashtag_timeline/index.jsx
@@ -71,7 +71,7 @@ class HashtagTimeline extends React.PureComponent {
     return (
       <Column icon='hashtag' active={hasUnread} heading={id}>
         <ColumnBackButtonSlim />
-        <StatusListContainer type='tag' id={id} emptyMessage={<FormattedMessage id='empty_column.hashtag' defaultMessage='There is nothing in this hashtag yet.' />} />
+        <StatusListContainer scrollKey='hashtag_timeline' type='tag' id={id} emptyMessage={<FormattedMessage id='empty_column.hashtag' defaultMessage='There is nothing in this hashtag yet.' />} />
       </Column>
     );
   }