LP-5675: fixed the ability to grant an achievement to a user of a shared channel
This commit is contained in:
parent
3e8879245b
commit
0942562085
@ -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