fix(chat): fix download & clear popover staying open after pressing in floating chat (#2192)

This commit is contained in:
Waleed
2025-12-04 13:03:12 -08:00
committed by GitHub
parent e581608472
commit b54ca604b6

View File

@@ -856,8 +856,7 @@ export function Chat() {
>
<PopoverScrollArea>
<PopoverItem
onClick={(e) => {
e.stopPropagation()
onClick={() => {
if (activeWorkflowId) exportChatCSV(activeWorkflowId)
setMoreMenuOpen(false)
}}
@@ -867,8 +866,7 @@ export function Chat() {
<span>Download</span>
</PopoverItem>
<PopoverItem
onClick={(e) => {
e.stopPropagation()
onClick={() => {
if (activeWorkflowId) clearChat(activeWorkflowId)
setMoreMenuOpen(false)
}}