From 5a081f2419906de373cb0d080f42b8cf6845247a Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Fri, 21 Feb 2025 00:42:27 +0530 Subject: [PATCH] (feat/docs) prevent event bubble --- frontend/src/settings/Documents.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/settings/Documents.tsx b/frontend/src/settings/Documents.tsx index c87e78d5..a0d34eed 100644 --- a/frontend/src/settings/Documents.tsx +++ b/frontend/src/settings/Documents.tsx @@ -276,7 +276,7 @@ export default function Documents({ onClick={() => setShowDocumentChunks(document)} > {document.name} @@ -287,7 +287,10 @@ export default function Documents({ {document.tokens ? formatTokens(+document.tokens) : ''} - + e.stopPropagation()} // Stop event propagation for the entire actions cell + >
{!document.syncFrequency && (
@@ -304,8 +307,7 @@ export default function Documents({ /> )}