Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #437 from SELab-2/development
Browse files Browse the repository at this point in the history
Pr.exe
  • Loading branch information
Nyxes5 authored May 22, 2022
2 parents 84182a9 + 7201863 commit 8eb7103
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions frontend/components/projects/ProjectTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -817,12 +817,22 @@ const ProjectAssignmentsList: React.FC<AssignmentProp> = ({
</span>
</div>
</div>
<p className="my-1 inline bg-gray-300 px-1 text-sm">
{assignment.position.skill.skillName}
</p>
<p className="text-xs opacity-40">
Suggested by {assignment.suggester.username}
</p>

{assignment &&
assignment.position &&
assignment.position.skill &&
assignment.position.skill.skillName && (
<p className="my-1 inline bg-gray-300 px-1 text-sm">
{assignment.position.skill.skillName}
</p>
)}
{assignment &&
assignment.suggester &&
assignment.suggester.username && (
<p className="text-xs opacity-40">
Suggested by {assignment.suggester.username}
</p>
)}
</div>
<div className="flex flex-col justify-center">
<i
Expand Down

0 comments on commit 8eb7103

Please sign in to comment.