added a default name for duplicated profiles - fixes #4325

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

View File

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