fixed #4931 - allow empty username to work with winscp integration

This commit is contained in:
Eugene Pankov
2021-11-20 17:39:10 +01:00
parent 064bcb31d8
commit 8ff130ebfd
6 changed files with 9 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ export class TelnetProfilesService extends ProfileProvider<TelnetProfile> {
]
}
async getNewTabParameters (profile: PartialProfile<TelnetProfile>): Promise<NewTabParameters<TelnetTabComponent>> {
async getNewTabParameters (profile: TelnetProfile): Promise<NewTabParameters<TelnetTabComponent>> {
return {
type: TelnetTabComponent,
inputs: { profile },