Skip to content

Commit

Permalink
fix: persons id value dropdown (#17268)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyiy authored Aug 31, 2023
1 parent 5fdb0f6 commit a2d7c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/scenes/persons/Person.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function Person(): JSX.Element | null {
</Tooltip>
</div>
<LemonSelect
value={person.distinct_ids[0]}
value={distinctId || person.distinct_ids[0]}
onChange={(value) => value && setDistinctId(value)}
options={person.distinct_ids.map((distinct_id) => ({
label: distinct_id,
Expand Down

0 comments on commit a2d7c18

Please sign in to comment.