Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(connections): allow typing in input (#3449)

Harsh Kumar88bf368fec14
diff --git a/apps/screenpipe-app-tauri/components/settings/agent-card.tsx b/apps/screenpipe-app-tauri/components/settings/agent-card.tsx
index 07ce4eb8c..28ffaa017 100644
--- a/apps/screenpipe-app-tauri/components/settings/agent-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/agent-card.tsx
@@ -569,7 +569,11 @@ function RemoteSyncSection({
)}
<Input
placeholder="user@host"
- value={config.user && config.host ? `${config.user}@${config.host}` : ""}
+ value={
+ config.user || config.host
+ ? `${config.user ? `${config.user}@` : ""}${config.host ?? ""}`
+ : ""
+ }
onChange={(e) => {
const val = e.target.value;
const at = val.indexOf("@");