Commit 56ec01f7 authored by nanamicat's avatar nanamicat

fix

parent 65aff315
...@@ -24,7 +24,7 @@ export class ApiService { ...@@ -24,7 +24,7 @@ export class ApiService {
Host: item.name, Host: item.name,
HostName: item.host, HostName: item.host,
User: item.user, User: item.user,
Port: item.sshPort Port: item.sshPort === 22 ? undefined : item.sshPort
}) })
.filter(([key, value]) => value) .filter(([key, value]) => value)
.map((line) => line.join(' ')) .map((line) => line.join(' '))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment