Skip to content

Commit

Permalink
feat: added tooltip to 'forward to user' field
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva committed Oct 13, 2023
1 parent 0339655 commit 80edc87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/meteor/client/components/AutoCompleteAgent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type AutoCompleteAgentProps = {
excludeId?: string;
showIdleAgents?: boolean;
onlyAvailable?: boolean;
withTitle?: boolean;
onChange: (value: string) => void;
};

Expand All @@ -28,6 +29,7 @@ const AutoCompleteAgent = ({
excludeId,
showIdleAgents = false,
onlyAvailable = false,
withTitle = false,
onChange,
}: AutoCompleteAgentProps): ReactElement => {
const [agentsFilter, setAgentsFilter] = useState<string>('');
Expand All @@ -45,6 +47,7 @@ const AutoCompleteAgent = ({

return (
<PaginatedSelectFiltered
withTitle={withTitle}
value={value}
error={error}
placeholder={placeholder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const ForwardChatModal = ({
<FieldRow>
<AutoCompleteAgent
onlyAvailable
withTitle
excludeId={room.servedBy?._id}
showIdleAgents={idleAgentsAllowedForForwarding}
placeholder={t('Username')}
Expand Down

0 comments on commit 80edc87

Please sign in to comment.