Skip to content

Commit

Permalink
Adds listing of skills to user view on admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
meisullum committed Dec 17, 2024
1 parent 106ae59 commit 8e9b006
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/web/src/components/admin/users/ServerSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ export function ProfileInfo({ user }: { user: Hacker }) {
/>
</div>
<div className="flex flex-col gap-y-5 pt-5">
<Cell title="Skills" value={"Coming soon..."} />
<Cell
title="Skills"
value={
user.skills && (user.skills as string[]).length > 0
? (user.skills as string[]).join(", ")
: ""
}
/>
<Cell title="Bio" value={user.bio} />
</div>
</UserInfoSection>
Expand Down

0 comments on commit 8e9b006

Please sign in to comment.