mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
better new profile name handling - fixes #4325
This commit is contained in:
@@ -62,6 +62,10 @@ export class TelnetProfilesService extends ProfileProvider<TelnetProfile> {
|
||||
}
|
||||
}
|
||||
|
||||
getSuggestedName (profile: TelnetProfile): string|null {
|
||||
return this.getDescription(profile) || null
|
||||
}
|
||||
|
||||
getDescription (profile: TelnetProfile): string {
|
||||
return profile.options.host ? `${profile.options.host}:${profile.options.port}` : ''
|
||||
}
|
||||
|
Reference in New Issue
Block a user