Skip to content

Commit

Permalink
feat: add 'via' in the server list to make distinction with ssh (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
eMerzh authored and maxcnunes committed Oct 3, 2016
1 parent 242d9cc commit 9593d9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/components/server-list-item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ const ServerListItem = ({ server, onConnectClick, onEditClick }) => (
<div className="header">
{server.name}
</div>
<div className="meta" style={{ lineHeight: '1.5em', marginTop: '5px' }}>
<div className="meta" style={{ lineHeight: '1.5em', marginTop: '5px', marginLeft: '45px' }}>
{server.host ? `${server.host}:${server.port}` : server.socketPath}
{server.ssh && (<div>via {server.ssh.host}</div>)}
</div>
</div>
<div className="ui bottom attached button"
Expand Down

0 comments on commit 9593d9f

Please sign in to comment.