|
|
@ -78,8 +78,10 @@ class Account extends ImmutablePureComponent { |
|
|
|
|
|
|
|
|
|
|
|
let buttons; |
|
|
|
let buttons; |
|
|
|
|
|
|
|
|
|
|
|
if (onActionClick && actionIcon) { |
|
|
|
if (actionIcon) { |
|
|
|
|
|
|
|
if (onActionClick) { |
|
|
|
buttons = <IconButton icon={actionIcon} title={actionTitle} onClick={this.handleAction} />; |
|
|
|
buttons = <IconButton icon={actionIcon} title={actionTitle} onClick={this.handleAction} />; |
|
|
|
|
|
|
|
} |
|
|
|
} else if (account.get('id') !== me && account.get('relationship', null) !== null) { |
|
|
|
} else if (account.get('id') !== me && account.get('relationship', null) !== null) { |
|
|
|
const following = account.getIn(['relationship', 'following']); |
|
|
|
const following = account.getIn(['relationship', 'following']); |
|
|
|
const requested = account.getIn(['relationship', 'requested']); |
|
|
|
const requested = account.getIn(['relationship', 'requested']); |
|
|
|