Fix follow icon changing plus to minus, add terms page stub
This commit is contained in:
parent
57304ac375
commit
dd03118098
6 changed files with 122 additions and 2 deletions
|
@ -64,9 +64,11 @@ const Account = React.createClass({
|
|||
}
|
||||
|
||||
if (account.get('id') !== me) {
|
||||
const following = account.getIn(['relationship', 'following']);
|
||||
|
||||
buttons = (
|
||||
<div style={buttonsStyle}>
|
||||
<IconButton icon='user-plus' title='Follow' onClick={this.handleFollow} active={account.getIn(['relationship', 'following'])} />
|
||||
<IconButton icon={following ? 'user-times' : 'user-plus'} title='Follow' onClick={this.handleFollow} active={following} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue