[Glitch] Fix not to show follow button in global suggestion
Port baed52c2a7 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		@@ -87,8 +87,10 @@ class Account extends ImmutablePureComponent {
 | 
			
		||||
 | 
			
		||||
    let buttons;
 | 
			
		||||
 | 
			
		||||
    if (onActionClick && actionIcon) {
 | 
			
		||||
      buttons = <IconButton icon={actionIcon} title={actionTitle} onClick={this.handleAction} />;
 | 
			
		||||
    if (onActionClick) {
 | 
			
		||||
      if (actionIcon) {
 | 
			
		||||
        buttons = <IconButton icon={actionIcon} title={actionTitle} onClick={this.handleAction} />;
 | 
			
		||||
      }
 | 
			
		||||
    } else if (account.get('id') !== me && !small && account.get('relationship', null) !== null) {
 | 
			
		||||
      const following = account.getIn(['relationship', 'following']);
 | 
			
		||||
      const requested = account.getIn(['relationship', 'requested']);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user