1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-06-29 07:49:53 +00:00

added a default name for duplicated profiles - fixes

This commit is contained in:
Eugene Pankov 2021-08-02 20:03:02 +02:00
parent 04097a0ef5
commit c1a1f53707
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

@ -65,7 +65,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
} }
const profile = deepClone(base) const profile = deepClone(base)
profile.id = null profile.id = null
profile.name = '' profile.name = `${profile.name} copy`
profile.isBuiltin = false profile.isBuiltin = false
profile.isTemplate = false profile.isTemplate = false
await this.editProfile(profile) await this.editProfile(profile)