mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-25 01:26:08 +00:00
fixed #5001
This commit is contained in:
@@ -209,6 +209,6 @@ export class AppHotkeyProvider extends HotkeyProvider {
|
||||
}
|
||||
|
||||
static getProfileHotkeyName (profile: PartialProfile<Profile>): string {
|
||||
return profile.id!.replace(/\./g, '-')
|
||||
return (profile.id ?? profile.name).replace(/\./g, '-')
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user