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) => ( - handleConnectionSelect(connection)} - > - { - e.stopPropagation(); - handleEditConnection(connection); - }} + + handleConnectionSelect(connection)} > - - - - + { + e.stopPropagation(); + handleEditConnection(connection); + }} + > + + + + + ))} { onValueChange={(value) => setPartialConnection({ engineType: value as Engine })} /> + + Title + setPartialConnection({ title: value })} /> + Host setPartialConnection({ host: value })} /> diff --git a/src/components/kit/Tooltip.tsx b/src/components/kit/Tooltip.tsx index a384415..b431e04 100644 --- a/src/components/kit/Tooltip.tsx +++ b/src/components/kit/Tooltip.tsx @@ -20,6 +20,7 @@ const Tooltip = (props: Props) => { className="bg-zinc-800 text-gray-200 dark:bg-black text-sm p-1 px-2 rounded-md z-[99999]" side={side} sideOffset={6} + hidden={title === ""} > {title}