LP-5613 #2
@ -95,6 +95,10 @@ const BadgeList: React.FC<Props> = ({user, hide}) => {
|
||||
hide();
|
||||
}, [dispatch, user.username, hide]);
|
||||
|
||||
if ((user as UserProfile & {remote_id?: string}).remote_id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const visibleGroups = groups.slice(0, MAX_BADGES);
|
||||
const maxWidth = (MAX_BADGES * BADGE_SIZE) + 30;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user