Skip to content

Commit

Permalink
Merge pull request #22 from chenyu-01/Y
Browse files Browse the repository at this point in the history
Fix value option in ProfileCard select element
  • Loading branch information
chenyu-01 authored Dec 26, 2023
2 parents 025b25e + e0d1692 commit 437fb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Admin/ProfileCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ function ProfileDetailSection({

return (
<select
value={managerExists ? value : 'NA'}
value={managerExists ? value : 'N/A'}
onChange={(e) => onChange(e.target.value)}
className="border-none bg-transparent p-2 ml-5 mt-2.5 self-start"
>
{!managerExists && <option value="NA">NA</option>}
{<option value="N/A">N/A</option>}
{managers.map((manager) => (
<option key={manager.id} value={manager.name}>
{manager.name}
Expand Down

0 comments on commit 437fb79

Please sign in to comment.