about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorBillie Thompson <billie@purplebooth.co.uk>2017-01-28 23:49:42 +0000
committerBillie Thompson <billie@purplebooth.co.uk>2017-01-29 18:53:51 +0000
commitb1571b1e1d679c227aecfdb5d3b599d68f875b64 (patch)
tree11aab0f02c12069fd2dc5a00f17aecc564bbe9c9 /app/assets
parentb12bdd2aea2d4736b723aacb829b34e8576fb40c (diff)
Add missing back button to "Follow Requests"
Currently we have the problem where the follow request button is missing
from the Follow request tab. This means that when you visit that tab you
either have to press the back button in the browser or re-enter the home
page, which breaks the app flow.

This will resolve that issue by adding a new back button to that tab,
in the same way that the public timeline, and favourites have.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/components/features/follow_requests/index.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/features/follow_requests/index.jsx b/app/assets/javascripts/components/features/follow_requests/index.jsx
index 461370999..5c60b6028 100644
--- a/app/assets/javascripts/components/features/follow_requests/index.jsx
+++ b/app/assets/javascripts/components/features/follow_requests/index.jsx
@@ -4,6 +4,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 import LoadingIndicator from '../../components/loading_indicator';
 import { ScrollContainer } from 'react-router-scroll';
 import Column from '../ui/components/column';
+import ColumnBackButton from '../../components/column_back_button';
 import AccountAuthorizeContainer from './containers/account_authorize_container';
 import { fetchFollowRequests, expandFollowRequests } from '../../actions/accounts';
 import { defineMessages, injectIntl } from 'react-intl';
@@ -51,6 +52,7 @@ const FollowRequests = React.createClass({
 
     return (
       <Column icon='users' heading={intl.formatMessage(messages.heading)}>
+        <ColumnBackButton />
         <ScrollContainer scrollKey='follow_requests'>
           <div className='scrollable' onScroll={this.handleScroll}>
             {accountIds.map(id =>