Skip to content

Commit

Permalink
feat: reporting any additional requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
accassid committed Jan 1, 2024
1 parent 754986e commit 641ff73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/search/ComboResults/ComboResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ const ComboResults = ({
</div>
</CardTooltip>
))}
{combo.requires.length || combo.otherPrerequisites && (
<div className="prerequisites pl-3 pr-3">
<span className="text-gray-500">+{combo.requires.length + (combo.otherPrerequisites ? combo.otherPrerequisites.split(".").filter(s => s.trim().length).length : 0)} other prerequisite(s)</span>
</div>
)}
</div>
</div>
<div className="flex-grow">
Expand Down

0 comments on commit 641ff73

Please sign in to comment.