mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
better new profile name handling - fixes #4325
This commit is contained in:
@@ -84,6 +84,10 @@ export class LocalProfilesService extends ProfileProvider<LocalProfile> {
|
||||
}
|
||||
}
|
||||
|
||||
getSuggestedName (profile: LocalProfile): string {
|
||||
return this.getDescription(profile)
|
||||
}
|
||||
|
||||
getDescription (profile: PartialProfile<LocalProfile>): string {
|
||||
return profile.options?.command ?? ''
|
||||
}
|
||||
|
Reference in New Issue
Block a user