Skip to content

Commit

Permalink
Merge pull request #1955 from zetkin/issue-1582/list-random-assignee
Browse files Browse the repository at this point in the history
issue-1582/random assignee on cell when editing
  • Loading branch information
richardolsson committed May 17, 2024
2 parents 51f4fda + 3ca48a4 commit bd3ad4d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/zui/ZUIPersonGridEditCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ const ZUIPersonGridEditCell: FC<{
)}

{searchResults.map((option, index) => {
const optProps = autoComplete.getOptionProps({
index,
option,
});
return (
<PersonListItem
key={option.id}
itemProps={optProps}
itemProps={{
onClick: () => {
onUpdate(option);
},
}}
orgId={orgId}
person={option}
selected={
Expand Down

0 comments on commit bd3ad4d

Please sign in to comment.