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

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)