Skip to content

Commit

Permalink
after build
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGreenwood committed Jan 9, 2025
1 parent 361cf7a commit 364adec
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
38 changes: 19 additions & 19 deletions frontend/src/components/opportunities/OpportunityContacts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,26 +284,26 @@ export function OpportunityContacts({
: contact.skills.join(" . ")
: "n/a"
: // If not expanded, show truncated version
contact.skills && contact.skills.length > 0
? icp
? contact.skills
.filter((item) =>
icp.tool.include.some(
(el) =>
el.toLowerCase() ===
item.toLowerCase()
contact.skills && contact.skills.length > 0
? icp
? contact.skills
.filter((item) =>
icp.tool.include.some(
(el) =>
el.toLowerCase() ===
item.toLowerCase()
)
)
)
.concat(
contact.skills.filter(
(item) =>
!icp.tool.include.includes(item)
.concat(
contact.skills.filter(
(item) =>
!icp.tool.include.includes(item)
)
)
)
.slice(0, 5) // Show only the first skill
.join(" · ")
: contact.skills.slice(0, 1).join(" . ")
: "n/a"}
.slice(0, 5) // Show only the first skill
.join(" · ")
: contact.skills.slice(0, 1).join(" . ")
: "n/a"}
</p>
{contact.skills && contact.skills.length > 3 && (
<button
Expand Down Expand Up @@ -441,7 +441,7 @@ export function OpportunityContacts({
<p className="uppercase text-xs text-secondary-foreground font-semibold">
Activity
</p>
<div className="flex flex-row gap-2 items-center justify-between">
<div className="flex flex-row gap-2 items-center">
Mentions{" "}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
Layers,
CircleCheckBig,
Star,
Charts,
} from "lucide-react"

import {
Expand Down

0 comments on commit 364adec

Please sign in to comment.