Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit acaed88

Browse files
committed
fix: fix issue
1 parent 97c4ebe commit acaed88

File tree

1 file changed

+2
-2
lines changed
  • src/routes/PositionDetails/components/CandidatesStatusFilter

1 file changed

+2
-2
lines changed

src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ const CandidatesStatusFilter = ({ currentStatus, onChange, candidates }) => {
2424
>
2525
{CANDIDATE_STATUS_TO_TEXT[status]} (
2626
{_.filter(candidates, { status }).length})
27-
{index === 0 && _.filter(candidates, { status }).length && (
27+
{index === 0 && _.filter(candidates, { status }).length ? (
2828
<Babge type="danger">Pending</Babge>
29-
)}
29+
) : null}
3030
</Button>
3131
))}
3232
</div>

0 commit comments

Comments
 (0)