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

@@ -44,7 +44,7 @@ export abstract class ProfileProvider<P extends Profile> {
abstract getBuiltinProfiles (): Promise<PartialProfile<P>[]>
abstract getNewTabParameters (profile: PartialProfile<P>): Promise<NewTabParameters<BaseTabComponent>>
abstract getNewTabParameters (profile: P): Promise<NewTabParameters<BaseTabComponent>>
getSuggestedName (profile: PartialProfile<P>): string|null {
return null