Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
PORTALS-2382: set UserSearchBox only to search users
Browse files Browse the repository at this point in the history
  • Loading branch information
yjyoo773 committed Oct 28, 2022
1 parent 0882ce3 commit 83ca007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/containers/markdown/UserMentionModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useCallback } from 'react'
import { Modal } from 'react-bootstrap'
import { UserGroupHeader } from '../../utils/synapseTypes'
import { TYPE_FILTER, UserGroupHeader } from '../../utils/synapseTypes'
import UserSearchBoxV2 from '../UserSearchBoxV2'

export type UserMentionModalProps = {
Expand Down Expand Up @@ -34,6 +34,7 @@ export const UserMentionModal: React.FC<UserMentionModalProps> = ({
<UserSearchBoxV2
placeholder="Search for a user or team name"
onChange={onUserChange}
typeFilter={TYPE_FILTER.USERS_ONLY}
/>
</Modal.Body>
</Modal>
Expand Down

0 comments on commit 83ca007

Please sign in to comment.