1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 10:32:29 +03:00
This commit is contained in:
Eugene Pankov 2021-12-08 21:01:48 +01:00
parent 4c663e4a20
commit b755346ac0
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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, '-')
}
}