From 66320c892d8486351a74ab181b0b360b50659b1d Mon Sep 17 00:00:00 2001 From: steven Date: Tue, 18 Apr 2023 11:27:27 +0800 Subject: [PATCH] feat: add connection title field --- src/components/ConnectionSidebar.tsx | 35 ++++++++++++------------ src/components/CreateConnectionModal.tsx | 4 +++ src/components/kit/Tooltip.tsx | 1 + 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/components/ConnectionSidebar.tsx b/src/components/ConnectionSidebar.tsx index 7daaa6e..5a4146c 100644 --- a/src/components/ConnectionSidebar.tsx +++ b/src/components/ConnectionSidebar.tsx @@ -175,24 +175,25 @@ const ConnectionSidebar = () => { {connectionList.map((connection) => ( - + { + e.stopPropagation(); + handleEditConnection(connection); + }} + > + + + + + ))}