Skip to content

Commit

Permalink
Merge branch 'bot_ui_close_chats_list_on_mobile' into 'master'
Browse files Browse the repository at this point in the history
Bot UI: Close chat list by clicking on a list item on mobile devices

See merge request postgres-ai/database-lab!894
  • Loading branch information
Bogdan Tsechoev committed Aug 20, 2024
2 parents 3fa1ade + 70c9877 commit dc655b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/packages/platform/src/pages/Bot/ChatsList/ChatsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ export const ChatsList = (props: ChatsListProps) => {
const handleClick = (threadId: string) => {
if (onLinkClick) {
onLinkClick(threadId)
if (matches) {
onClose()
}
}
}

Expand Down

0 comments on commit dc655b1

Please sign in to comment.