diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 5082bf2..1f8b6b6 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -468,7 +468,7 @@ function SshHostsSection() { setBusyFlag(key, true) try { const { config, secrets } = buildPayload(fieldsWithJumpHost(), values) - const name = values.host ? `SSH: ${values.host}` : 'SSH Host' + const name = values.__name?.trim() || (values.host ? `SSH: ${values.host}` : 'SSH Host') await api.createIntegration({ type: 'ssh', name, config, secrets }) removeNewDraft(key) refresh() @@ -598,11 +598,7 @@ function SshHostsSection() { boxShadow: online ? '0 0 6px rgba(46,204,113,0.6)' : 'none', }} /> - setDraftField(host.id, '__name', e.target.value)} - style={{ fontSize: '13px', color: '#E8E6E0', fontWeight: 600, backgroundColor: 'transparent', border: 'none', outline: 'none', padding: 0, width: '180px' }} - /> + {draft.__name ?? host.name}