mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 05:50:08 +00:00
added a default name for duplicated profiles - fixes #4325
This commit is contained in:
parent
04097a0ef5
commit
c1a1f53707
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user