Fixed bug where app would crash in multi person property if a set user is not a board member (#3870)
This commit is contained in:
parent
68f03d3fb1
commit
a591fe108b
1 changed files with 2 additions and 2 deletions
|
@ -59,9 +59,9 @@ const MultiPerson = (props: PropertyProps) => {
|
|||
const boardUsersById = useAppSelector<{[key: string]: IUser}>(getBoardUsers)
|
||||
const boardUsers = useAppSelector<IUser[]>(getBoardUsersList)
|
||||
|
||||
const formatOptionLabel = (user: any) => {
|
||||
const formatOptionLabel = (user: any): JSX.Element => {
|
||||
if (!user) {
|
||||
return {}
|
||||
return <div/>
|
||||
}
|
||||
let profileImg
|
||||
if (imageURLForUser) {
|
||||
|
|
Loading…
Reference in a new issue