Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/site/components/Common/Supporters/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Avatar from '@node-core/ui-components/Common/AvatarGroup/Avatar';

import { getAcronymFromString } from '#site/util/string';

import type { Supporter } from '#site/types';
import type { FC } from 'react';

Expand All @@ -12,6 +14,7 @@ const SupportersList: FC<SupportersListProps> = ({ supporters }) => (
{supporters.map(({ name, image, profile }, i) => (
<Avatar
nickname={name}
fallback={getAcronymFromString(name)}
image={image}
key={`${name}-${i}`}
url={profile}
Expand Down
3 changes: 2 additions & 1 deletion apps/site/next-data/generators/supportersData.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ async function fetchOpenCollectiveData() {
name,
image,
url: website,
profile,
// If profile starts with 'guest-', it's a non-existing account
profile: profile.includes('guest-') ? null : profile,
Comment thread
araujogui marked this conversation as resolved.
Outdated
Comment thread
araujogui marked this conversation as resolved.
Outdated
source: 'opencollective',
}));

Expand Down
Loading